On the LMS homepage (lms.domain.tld) and courses page (lms.domain.tld/courses) users are currently able to view all the courses on the site when they are not logged in, this is not desirable for me. I want to ensure that ONLY signed in users can view/list courses.
I did try as much as I could to find a feature/patch for this but haven’t come across anything that I think would be applicable.
I kind-of have a solution where under /admin/redirects
I’ve set up a redirect from “/” and “/courses” to go to “/dashboard” and that appears to be functional but I’m not sure if this is actually the recommended way to do so.
Any advice?
Hi @joel.edwards,
Try to configure this in Studio, advanced configuration for each course:
Setting course visibility in catalog to ‘about’ will also hide it from the home page. Avoid using ‘none’ there as it may cause problems in the learning mfe.
Hi @Andres.Aulasneo
Thanks for the info and sorry I took so long to respond, just hadn’t gotten around to testing yet…
I noticed on my server that I don’t have the option for Course visibility for unenrolled learners
Does this require the addition of any flags? I came across this article that talks about creating the seo.enable_anonymous_courseware_access
waffle flag though the article specifically discusses enabling it and I think I’m supposed to disable it? I’ve tried playing around with it but (unless I’m doing something wrong) I’m not getting the expected results.
Setting Course visibility in catalog
to “about” does indeed hide it from view, though it hides from both authenticated and unauthenticated users.
My goal is to still have all the courses visible to authenticated users, but when unauthenticated users go to the homepage or /courses they should not see any courses at all. It would be ideal if there was some way to do this globally instead of per course.
Any recomendations?