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

Process for deprecating a capability

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2
    • Fix Version/s: None
    • Component/s: Policy, Roles / Access
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE
    • Story Points:
      5
    • Sprint:
      Moppies Moodle 3.8 Sprint 1, Moppies Moodle 3.8 Sprint 2, Moppies Moodle 3.8 Sprint 3

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marina Marina Glancy
                Participants:
                Component watchers:
                Adrian Greeve, Andrew Nicols, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: