mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
9665ecd275
1. This used to use a complex legacy system which was buggy. 2. It now relies on a new mod/...:addinstance capability for each module. 3. All the legacy code has been stripped out. 4. Old restriction data is upgraded by creating the necessary permission overrides. Similarly, when old backups are restored, the old settings are converted to be overrides. 5. The required addinstance capabilities will be added as a separate commit. 6. There is a developer debug warning about modules that are missing the addinstance capability, unless they are MOD_ARCHETYPE_SYSTEM mods.