I have hidden courses that are not visible in the front page for the course creator role. I want to restrict users from only accessing/viewing courses in their departments.
I have 2 categories DeptA and DeptB with courses under them as follows
- Dept A
- Dept B
Users (courseCreator/student) in DeptA should only be able to view courses in DeptA. They should not see courses in DeptB.
I have created the courses as "not enrollable" and "not available to students" (i.e.. the course is hidden).
I have assigned roles to the users only in the DeptA category. CourseCreator and students are given "view hidden course" and "view hidden category" capabilities.
Front Page settings is set with "View courses in hidden categories".
With these settings, studentA is able to view only courses in DeptA (as desired).
But the courses in DeptA category is not visible on the front page for the course creator. I am able to search and then view the course in course creator role.
I have tried assigning the course creator to the student role (along with the course creator role) in Dept A. I am still unable to view the courses in the front page for courseCreator role.
Appreciate any input on this.