I’m using Open edX relase ironwood.master (installed by 2020), i can’t hide the course from all users after chage course visibility from Advanced settings in the studio.
If this is also the case with you, you can fix it by following these steps:
Login to server, and edit
lms.env.jsonin /edx/app/edxapp or
lms.ymlin /edx/etc if you are using Open edX release juniper or latest.
Find COURSE_CATALOG_VISIBILITY_PERMISSION and change the value with see_in_catalog.
Also, find COURSE_ABOUT_VISIBILITY_PERMISSION and change the value with see_about_page.
Restart Open edX LMS service.