Details
Description
Apart from MDL-21668 (that must be done before), implement the check_security() in controller, so all the settings will be initially allowed/locked if /as necessary.u i cannot change them if locked by permission.
Apart from MDL-21668 (that must be done before), implement the check_security() in controller, so all the settings will be initially allowed/locked if /as necessary.u i cannot change them if locked by permission.
Implemented, these are checked:
**'moodle/backup:userinfo'
All them throwing backup_controller_exception() if something goes wrong.
Offtopic, once implemented, I found one more problem in the backup ui (
MDL-22142) not following the locks defined here. Going to report that there (is serious).- configuring backup settings (if allowed):
**'moodle/backup:userinfo'
- 'moodle/backup:anonymise'
All them throwing backup_controller_exception() if something goes wrong. Offtopic, once implemented, I found one more problem in the backup ui (MDL-22142) not following the locks defined here. Going to report that there (is serious).