-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.5, 3.11.6, 4.0
-
MOODLE_311_STABLE, MOODLE_400_STABLE
-
MOODLE_311_STABLE
-
MDL-74169-master -
Users who do not have the capability to moodle/user:editownmessageprofile should not be shown a link to go and and edit their notification preferences.
Replication steps
1. Disable the capability moodle/user:editownmessageprofile for the "Authenticated user" role
2. Login as a non-admin user
3. Open the notification drawer
Expected
The link to the preferences (cog icon) is not displayed.
Actual
The link to the preferences (cog icon) is displayed.
–
This probably affects other views, I only investigated the notifications one. This was discovered on 4.0-beta but seems to occur on 3.11.5. Patch will be provided.