Hi,
I'm trying to configure my Moodle instance in such way that:
- there will be one category between many others which will be dedicated to one specific area (let's say a "project related"). In this category I have couple of courses.
- I have a cohort ("project members") in which I assigned couple of students (for this use case let's assume that other students are not included in this particular cohort)
- the cohort is created in context of this "project" category.
Each course in this "project" category has "self enrollment" configured as "Only cohort members" set to "project members".
Thanks of such configuration the students in this specific cohort can enroll themselves to all of the courses in this category which is great. Other students (not in this cohort) get the comment about defined restriction and that they can't enroll (I would prefer to hide unavailable courses from the audience to minimize questions but it is like it is, or I don't know how to set it ).And here is the problematic part:
when at some point in time I decide to disable an access to one project member (e.g. he is leaving the project) and I remove him from the cohort, in the result he can't enroll himself to another course in this particular category but he still has the access to the course in which he already enrolled himself earlier.
What I wanted to have is to some way of cascading the access rights:
- student is in a cohort -> has an access to the courses in the category -> he can enroll to the courses in this category;
- student lost his rights -> he can't enroll to other courses in the category AND we are taking back the rights to the courses in which he is enrolled (like it is mentioned during assigning members of the cohorts: Removing users from a cohort may result in unenrolling of users from multiple courses which includes deleting of user settings, grades, group membership and other user information from affected courses.).
I know that I can assign the cohort to the course and not to the category, but I don't like to assign all of the project members upfront to all courses and make the courses somehow mandatory for everybody (some are not relevant for all members because of its specific). And in such case the reasoning of creating cohort in context of category is drastically minimized, at least in my opinion (e.g. the category is only visible for the cohort members would be a nice feature).
Would you be so kind to help me sort my issue out?