Capabilities/moodle/course:viewhiddencourses
From MoodleDocs
- This allows a user to view courses which are not available to students (as specified in the Course settings)
- This capability is allowed for the default roles of manager, course creator, teacher and non-editing teacher