Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.7.4
-
MOODLE_37_STABLE
-
MOODLE_38_STABLE
-
master_
MDL-68054 -
Description
This capability prevents/allows people to see hidden activities in a course. It doesn't control whether they can alter them.
As this is a 'write' capability, it is overridden in frozen contexts and prevents users with legitimate access from seeing hidden activities/resources.
Changing the captype of the capability in the DB is a workaround, but I don't know if there are wider implications.
Replication steps...
- Turn on context freezing (Site admin > Developement > Experimental features)
- Create a category with a course in it (including some hidden course activities) and enrol a teacher
- Freeze the category (Site admin > Manage courses and categories > cog next to category)
- Go to a course outside the frozen category using the teacher
Expected result
- Teacher should be able to see (if not edit/delete/etc) the activity.
Actual result
- Hidden activities/resources are not visible to the teacher.
Attachments
Issue Links
- has to be finished together with
-
MDL-67497 Capability "backuptargetimport" should have captype "read"
-
- Closed
-