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

Backup code added in MDL-56310 incorrectly checks moodle/role:safeoverride for users who already have moodle/role:override

    XMLWordPrintable

Details

    Description

      The logic is supposed to be that if you have moodle/role:override, then you can overrid any capability, not just 'safe' ones, and so whether you have moodle/role:safeoverride or not should be irrelevant.

      Except that, MDL-56310 messed this up (meaning that when you backup and restore a bunch of courses as part of your year-end process, you lose random capabilities which are then hard to find and manually re-instate )

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Peter Dias Peter Dias
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              13/Sep/21

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours, 51 minutes
                5h 51m