-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.3, 2.4.7, 2.5.3
-
MOODLE_22_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
33536-26
-
Admin hides a course category but makes the courses in the category visible. Admin can see the category link dimmed in the navbar, as expected. Other users can see the link in the navbar, not dimmed and accessible. When a user clicks the visible link of the hidden category the user is notified: Sorry, but you do not currently have permissions to do that (See hidden categories).
Expected behavior: If Admin hides a category then the user should not see a link to it to begin with.
Possible fix: add to the navbar method of core_renderer (outputrenderers) a condition on the node's display property
if (!$item->display) {
|
continue;
|
}
|
- Discovered while testing
-
MDL-42858 No option to make the subcategories visible when category is hidden
-
- Closed
-
- has a non-specific relationship to
-
MDL-24214 Hidden categories get shown on the navigation
-
- Closed
-
- has been marked as being related by
-
MDL-34250 Error shown when logging in as a user into a course in a hidden category
-
- Closed
-
-
MDL-33762 As admin when I go to a page under My Profile like My private files the courses section of the navigation tree disappears
-
- Closed
-
-
MDL-33781 Add new Show/Hide option beside category that effects all courses within that category
-
- Closed
-