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

Process for deprecating a capability

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_32_STABLE
    • Story Points:
      1
    • Sprint:
      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

      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:
              abgreeve Adrian Greeve
              Reporter:
              marina Marina Glancy
              Participants:
              Component watchers:
              Adrian Greeve, Andrew Nicols, Eloy Lafuente (stronk7), Juan Leyva, Jun Pataleta, Sander Bangma, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated: