Moodle

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

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor 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.

Issue Links

Activity

Hide
Tim Hunt added a comment -

Another duplicate I created.

Show
Tim Hunt added a comment - Another duplicate I created.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: