-
Bug
-
Resolution: Fixed
-
Minor
-
3.9
-
MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-68008-master -
-
Moppies Kanban
This was discovered while testing MDL-50455.
the "capability overview" report (admin -> Users -> Perms -> Capability overview) only shows multiple contexts if ALL the capabilities have overrides, and only for matching contexts.
To reproduce:
1) In a site, go to a course and allow the enrol/category:config to the student role.
2) Go to admin -> Users -> Perms -> Capability overview select the enrol/category:config and all roles. Click on "Get the overview" button.
3) you will get various sections in the report: Permissions in System, in Miscellaneous, in Course, showing the override .
4) Now select both enrol/category:config and enrol/cohort:config (that has not overrides). Click on "Get the overview" button again.
EXPECTED:
The same information that was shown in 3) above for enrol/category:config PLUS the information for enrol/cohort:config should be displayed (irrespectively of the later being "inherit" everywhere, because it has no overrides).
CURRENT:
Information for the 2 caps are shown but only for system context (no way to display the overrides)
Reproduced in 3.9, but surely affects previous versions.
- Discovered while testing
-
MDL-50455 Capability overview loading same context data repeatedly
- Closed