Limit enrollable users according to their role

Limit enrollable users according to their role

by Michele Mosso -
Number of replies: 1

Hi everyone,

since I needed to have different categories which have to be accessible only by some users, I created custom roles of Manager and Student for each category, so that users with this roles can only see and edit the content of their category, and not the others which are hidden.

But now my problem is that the managers can enrole any user to their category. I'm looking for a way to allow the managers to enrol in the courses only users that have a certain role (binded to the same category of the manager). Does anyone have any idea on how I could achive this goal?

Thanks

Average of ratings: -