-
Bug
-
Resolution: Not a bug
-
Minor
-
None
-
3.8.4, 3.9.1
-
None
-
MOODLE_38_STABLE, MOODLE_39_STABLE
-
MDL-69374-master_guest_category_viewcourselist -
By default the guest role has moodle/category:viewcourselist enabled, so every guest user can access all course categories on the whole website. The purpose of moodle/category:viewcourselist is to restrict this access.
On our Moodle site we did not want guest users to access all coursecategories - we only want to allow access to certain courses. Therefore we disabled this capability for the guest user.
When a guest user now opens a course that has guest access enabled the user only gets an error message: "This course is currently unavailable to students". As soon as we enable this capability for guests again, we have access to the course.
------------------------
It seems not very logical to me that the capability "moodle/category:viewcourselist" overules the guest-enrol feature of courses.
Therefore I would consider this as a bug.
- duplicates
-
MDL-66002 The capability category:viewcourselist affects guest access to courses
-
- Closed
-