-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.3.3, 3.4
-
Hhogs Merge Review Candidates
yusufyilmaz wrote:
I think I might find a bug in cohort sync enrollment type. When I add cohort sync enrollment to a course with a role of student, I can assign the student role for all of the cohort members ( I accidentally chose student rather than a teacher) . However, when I go to managing enrollment methods of the course and hit the edit gear button for the cohort sync enrollment and change the "assign role" from student to teacher, the cohort members are added to teacher role and kept the previously added student role. I cannot manually delete student role since the role was added by a cohort sync enrollment method.
Only workaround that I can find so far is to delete cohort sync enrollment and add new instance for the same cohort with the desired role. But if the cohort members are done some activities in the course, this can be problematic. So I hope you have better solution for the situation.
(From https://moodle.org/mod/forum/discuss.php?d=361445 )
Step to reproduce:
- Create a cohort and assign a couple of users to it.
- Create a course and go to Participants > Enrolment methods.
- Add a Cohort sync enrolment method.
- Select 'Student' as role, and the cohort created and Add method.
- Go to Participants list and confirm the users within the cohort are enrolled as students.
- Create a course and go to Participants > Enrolment methods.
- Go to Participants > Enrolment methods and edit Cohort sync enrolment method.
- Confirm you could change the role from Student to any other role (e.g. Manager) and save changes using the Add method button.
- Go to Participants list
Expected behavior:
Users within cohorts are enrolled as Manager only
Current behavior:
Users within cohorts are enrolled as Student AND Manager
- blocks
-
MDL-53236 No option to set enrolment durations for cohort sync/enrol cohort in a course
-
- Open
-