I now realized that I can open /admin/roles/permissions.php?contextid=2155 where 2155 ist dhe context of a course and set the "viewhiddencourse" capability. I am wondering if this URL is accessible via a click-path in the system some where. Because in my case I just added the known context id. Is this a hidden feature or a actual feature?
General developer forum
Develop a plugin to allow granular course visibility / access
This discussion has been locked so you can no longer reply to it.