A Role can only View its Category

A Role can only View its Category

by José Montes Puntas -
Number of replies: 0

Hello.


I am using Moodle 3.10.3 (Build: 20210325).


In my Moodle, there are 2 types of students: customers and employees. 

A student may be neither, one or the other.


There is one category with courses for customers and another with courses

for employees.


I have tried creating 2 roles ("Customer" and "Employee"), both using "Student"

as the archetype. Then, in their respective categories, I enable "moodle/category:viewcourselist"

only for their role.


However, the result I get is that customers and employees can't view the other role 's category,

but they also can't view their own category.


Please, is there any way of fixing this?


Greetings.

Average of ratings: -