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

Add an 'Explain permissions' tab to the roles interface that shows, for a given user, the result of has_capability for every capability

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      The list of users to pick from would be the same list as on the assign roles page.

      The table would look similar to the table on the define/override roles page, with the same sort of search box. Each row would have the capability name and a column of 'Yes'/'No's showing the result of has_capability.

      The Yes/No would be a link to a pop-up that shows the full table of assignments and overrides, as per http://docs.moodle.org/en/How_permissions_are_calculated. See MDL-16965.

      If the user has moodle/site:doanything, I may add a third column to show the result of has_capability ignoring that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                timhunt Tim Hunt
                Reporter:
                timhunt Tim Hunt
                Tester:
                Nobody
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: