Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/cannotviewcategory.

error/moodle/cannotviewcategory

From MoodleDocs

If you obtain the error 'You don't have permission to view courses here', please ask your site admin to make sure your role has the capability View list of courses you are not enrolled in allowed.