Stop automatic unenroll when users are removed from a cohort

Stop automatic unenroll when users are removed from a cohort

by Debbie McDonald -
Number of replies: 3

Is there anyway to stop students from being unenrolled from courses if they are removed from a cohort? We are trying to maintain permanent transcripts and accurate site statistics. We need the cohort membership to be accurate but also need to maintain the ability to keep accurate training records. Moodle 3.7 and 3.9.

Average of ratings: -
In reply to Debbie McDonald

Stop automatic unenroll when users are removed from a cohort

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
Hey Debbie,
Are you using cohort sync? If so check the admin settings here: Site administration - Plugins - Enrollments - Cohort sync. The default setting is to Unenroll user from course, but you can change it to 'Disable course enrollment and remove roles'.
Average of ratings: Useful (1)
In reply to John Provasnik

Re: Stop automatic unenroll when users are removed from a cohort

by Debbie McDonald -
Does this prevent cohorts from being used to enroll students across the site? We basically just want people to stay enrolled in what they are enrolled in unless we unenroll them -- not with our cohort sync which is providing a way to automate new employee enrollment to courses.

This is sort of frustrating because we have staff who come to work for us, leave, come back, get promoted, transfer, etc... we want them to be able to see all of the training they've taken on the student dashboard, download reports of all of the training they've taken and pull statistical reports on how many people we have trained throughout the year. With the automatic unenrollment it is throwing a wrench into all of those processes.
In reply to Debbie McDonald

Re: Stop automatic unenroll when users are removed from a cohort

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
You can test it out with a 'test cohort' and some test users, but by changing that one setting, you should be able to continue as you have been without the effect of users being removed from the course when they are removed from the cohort.