Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3
-
MOODLE_23_STABLE
-
MOODLE_28_STABLE
-
wip-
MDL-35618-master -
Description
At present the "Enrol cohort" does both manual enrolments and cohort sync, this is wrong for several reasons:
1/ it is confusing
2/ the code is in wrong locations - each plugin must be self-contained
3/ it is not possible to add more options to cohort sync plugin
4/ it is not possible to visualise existing sync instances
5/ if you disable cohort sync plugin you can not manually enrol users from cohort
6/ invalid use of cohort enrol cohort capabilities for manual enrolments
etc.
Solution is to move enrolling of cohort users to manual plugin and keep the cohort sync plugin for itself.