Moodle Version: 3.6.3, Theme: Adaptable
At my organization, we are planning to use Moodle as an internal training module and we have made our departments as "course Categories" and individual projects under each department as "Courses". Now, the department information is a publicly available data and can be accessed by any users, but the Courses (Projects) is confidential (even the Project name is confidential) which should be seen only by users with access. On the homepage, I have created "Marketing blocks" images for each department (Category) which is hyperlinked to the respective category pages where all the respective courses (projects) are displayed.
As of now, when a guest user clicks on the home page category hyperlink, it takes them to the category page and when the guest user clicks on any Course (Project) it takes them to Login Page.
What I need:
The guest user should have access to only home page content. When the user clicks on any link on the homepage, the user should be re-directed to the homepage. At present, the user is redirected to the home page, only when the user tries to enter inside a course. The guest user has full access to all the names of the courses displayed on the category home page.
In other words... How do I restrict access to the category page for guest users?
The only solution, I found so far to prevent guests from seeing course names is by Force login, but then I can't showcase my homepage content to users. I need users to see the homepage and nothing else!
Thanks a lot for the replies in advance!
Adding screenshots for additional info:
1) The homepage marketing blocks. Each of the images below is a hyperlink to a category page.
2) When a guest user clicks on "Human Resources", it takes the user to Course (Project) page. I need login page to come instead of the page below.