-
Task
-
Resolution: Fixed
-
Minor
-
None
-
3.3
If you override the 'view' capability for a module to prevent a user from viewing it it is possible for it to still be shown in the dashboard (but won't for the calendar). This is because the modinfo cache performs the call to is_user_access_restricted_by_capability() which checks if the capability 'mod/xyz:view' is present in the module, and if so performs a has_capability check on it. The course module attribute 'uservisible' contains this logic, where as 'visible' doesn't.
- blocks
-
MDL-57878 Create the calendar action events required for activity completion
-
- Closed
-