-
Improvement
-
Resolution: Fixed
-
Major
-
2.7.3, 2.8.1
-
MOODLE_27_STABLE, MOODLE_28_STABLE
-
MOODLE_31_STABLE
-
MDL-48362-master -
Moderate
-
-
Team '; drop tables Sprint 9, Team ';drop tables Sprint 10, 3.1 Sprint 5
-
Large
Currently the enrolment API relies on logic that is tied to the user interface. Two examples:
- the callback enrol_plugin::get_newinstance_link() determines whether or not a new instance can be added to the course.
- the enrol plugin meta has advanced validation happening in its form class
If we want to be able to add webservices to the enrolments, or make the plugins self-aware of their limitations, settings, validations, ... the API should be self-contained and not spread across UI methods, or form validations.
Moreover, there is not defined mapping between the columns customint, customchar, ... making it really difficult to create generic webservices or external use of the enrolment API. An existing example is the ability to create new enrolments in tool_uploadcourse where a user has to analyse the code to find out how what customxxx columns to use to configure the enrolments methods.
- blocks
-
MDL-27628 Meta linked courses can only be added individually.
- Closed
-
MDL-43127 tool_uploadcourse is not compatible with all enrolment plugins
- Closed
-
MDL-43820 tool_uploadcourse supports multiple enrolment instances of the same type
- Closed
-
MDL-44640 Events for managing enrolment instances
- Closed
- caused a regression
-
MDL-54641 Confusing information in enrol/upgrade.txt
- Closed
-
MDL-55664 Button "Add method and create new" for cohort enrolments disappeared in 3.1
- Closed
- has a non-specific relationship to
-
MDL-47323 Ability to backup and restore of enrolment plugins data
- Closed
-
MDL-44640 Events for managing enrolment instances
- Closed
- has been marked as being related by
-
MDL-54046 'Moodle Docs for this page' links on enrolment method edit pages no longer link to the corresponding docs page
- Closed
- will help resolve
-
MDL-50332 Unclear message when the maximum number of users is reached in one of the enrolment instances.
- Closed