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

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0
    • Roles / Access
    • None
    • MOODLE_20_STABLE

      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.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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