Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-55580

Process for deprecating a capability

XMLWordPrintable

    • MOODLE_32_STABLE, MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • MDL-55580_master
    • Hide

      Covered by phpunit tests

      This amends has a small impact on performance that can be we can tested by using:

      ./vendor/phpunit/phpunit/phpunit --filter accesslib_test::test_permission_evaluation --repeat 3

      Show
      Covered by phpunit tests This amends has a small impact on performance that can be we can tested by using: ./vendor/phpunit/phpunit/phpunit --filter accesslib_test::test_permission_evaluation --repeat 3
    • 3
    • Moppies Moodle 3.8 Sprint 1, Moppies Moodle 3.8 Sprint 2, Moppies Moodle 3.8 Sprint 3, 4.0 holding pattern 9, 4.0 holding pattern 10, 4.0 holding pattern 11, 4.0 holding pattern 12, Moppies Kanban, Old Moppies Kanban Board

      Sometimes we need to

      • remove capability that is no longer used (MDL-37479)
      • rename capability, for example mod/wiki:viewpage -> mod/wiki:view (MDL-55554), mod/forum:viewdiscussion -> mod/forum:view (MDL-55555)
      • combine two capabilities in one (MDL-51630)
      • and so on

      We need to make sure that 3rd party plugins checking this capability receive correct result together with debugging message. If we just remove capability has_capability() will return false.

            marxjohnson Mark Johnson
            marina Marina Glancy
            Simon Adams Simon Adams
            Shamim Rezaie Shamim Rezaie
            CiBoT CiBoT
            Votes:
            1 Vote for this issue
            Watchers:
            18 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 3 hours, 1 minute
                4d 3h 1m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.