Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37578

Make 'navshowallcourses' a capability so some roles can always view all courses.

    Details

    • Affected Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE

      Description

      Currently the 'navshowallcourses' (in Settings > Site administration > Appearance > Navigation) controls displaying the 'Courses' branch in the Navigation block for ALL users.

      I would like this option changed so you can restrict it to different users/roles. This could be done by changing it to a capability. The setting then can be modified like other capabilities in 'Manage Roles' (Settings > Site administration > Users > Permissions > Define roles, and then edit the definition of one of the roles).

      The default option for most of the roles would be 'false'. But for roles not typically involved in courses (ie Admin and Managers) it could be set to 'true', so if they become involved in one of the courses the 'Courses' branch does not disappear.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: