-
Bug
-
Resolution: Done
-
Major
-
DEV backlog
-
-
MOODLE_405_STABLE
-
Moodle Apps - 2024 i3, Moodle Apps - 2024 i3.1, Moodle Apps - 2024 i3.2
Steps to reproduce:
- Disable this capability at system level for authenticated users: moodle/user:editownmessageprofile: Edit own user messaging profile
- Access the user messages or notifications preferences via the user account menu or via messaging -> settings cog
- An exception is displayed
Expected behaviour:
- Do not display the preferences link/cog icon or display a better error message
Since we do not have an existing WebService to check whether the user can edit or not its preference, to avoid unnecessary WS calls and being this a very edge case the proposed solution is just to capture the error an display a nice message in the new page that will be opened.
- Testing discovered
-
MDL-82794 Rename moodle/user:editownmessageprofile to make clear that it affects notifications (and document it)
- Open