Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.3
-
Fix Version/s: 2.4
-
Component/s: Backup, Enrolments
-
Testing Instructions:
-
Affected Branches:MOODLE_23_STABLE
-
Fixed Branches:MOODLE_24_STABLE
-
Pull from Repository:
-
Pull Master Branch:w37_
MDL-35071_m24_enrolrestore -
Pull Master Diff URL:
Description
List of solved problems:
- no way to restore enrolments from disabled/nonexistent/nonrestorable plugins - solution is to add option to "Restore as manual enrolments" options which migrates data to standard enrol_manual plugin
- no way to map/alter custom fields - such as roles or userid stored in customintX fields
- roles need to be restored AFTER the enrolments because they need new enrolid
- enrol->sortorder should be converted to XML field order, we do not need the value in backup file at all
- support for multiple enrol-self instances
- trigger automatic sync of all enrol plugins before the restore of first instance - this creates course category enrolments for example, it might trigger LDAP sync, etc.
- let enrol plugins create instances, enrolments and role assignments - we need as much flexibility as possible, let plugins decide eveything
Not included in this issue:
- ability to backup/restore extra tables of enrol plugins
- only self, manual and guest plugins are fully implemented, the rest will follow if this gets integrated
Attachments
Issue Links
- blocks
-
MDL-27856 Cohort enrolment restore support
-
- Closed
-
-
MDL-35062 Add setting for cron action after enrolment expiration - enrol_self
-
- Closed
-
- has been marked as being related by
-
MDL-22148 backup: cohorts
-
- Closed
-
-
MDL-23875 Option to Limit Self-Enrolment to members of a Cohort
-
- Closed
-
- is duplicated by
-
MDL-26222 Course restore does not restore user roles when enrol plugin is not manual
-
- Closed
-
-
MDL-29414 Improve enrol plugins to better handle its unique/multiple property
-
- Closed
-
-
MDL-34387 Restore course in 2.3 from a course created in 2.2 reports error in metacourse enrolment
-
- Closed
-