-
Bug
-
Resolution: Fixed
-
Minor
-
3.8, 3.9
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_38_STABLE
-
MDL-67523-master -
- Assign role "Manager" to a user in the system context
- Log in as this user
- Go to Site administration
- All sections names are displayed as links but clicking on them shows an exception
Sorry, but you do not currently have permissions to do that (Change site configuration).
|
|
More information about this error
|
Debug info:
|
Error code: nopermissions
|
Stack trace:
|
|
line 860 of /lib/accesslib.php: required_capability_exception thrown
|
line 3064 of /lib/moodlelib.php: call to require_capability()
|
line 33 of /admin/category.php: call to require_admin()
|
We either need to not throw an exception or not show them as links
- is a regression caused by
-
MDL-58439 Admin pages login as guest and then throw Access denied error (should prompt for login) require_admin()
-
- Closed
-
- mentioned on