Making course visibility private

I am working on making some private courses but I am having trouble with hiding the visibility of the course.

In the advance settings of the course I see a setting called

Course Visibility in Catalog

and I have tried changing the variable to “none” from the default but it is still displayed for all users.


In the back-end code I have found these variables:

COURSE_CATALOG_VISIBILITY_PERMISSION
COURSE_ABOUT_VISIBILITY_PERMISSION
DEFAULT_COURSE_VISIBILITY_IN_CATALOG

But I haven’t had luck hiding the visibility. What would be the best way to do this? Any help would be much appreciated!

hi,

you need edit lms.env.json

lms/envs/commons.py

which access.py permission name to check in order to determine if a course is visible in

the course catalog. We default this to the legacy permission ‘see_exists’.

COURSE_CATALOG_VISIBILITY_PERMISSION = ‘see_in_catalog’

which access.py permission name to check in order to determine if a course about page is

visible. We default this to the legacy permission ‘see_exists’.

COURSE_ABOUT_VISIBILITY_PERMISSION = ‘see_about_page’

Thank you for the response. I had issues initially with those variables. Until those were set to ‘none’ and invitation only was set to ‘true’. I don’t know if that’s the best method to approach it but it was able to hide the course from the catalog. If I didn’t have invitation only it was still visible.