Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.8
-
Fix Version/s: STABLE backlog
-
Component/s: Backup
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
Description
At present the restore can be done only within the same category, it can be a problem if creator can not edit categories.
Solution:
- add a category selector for restore into new course
- review contexts in course:create capability checks (seems it is checked only in system context, but it can be defined in category context too)
- use the $CFG->creatornewroleid when restoring into new course and user does not have view or assign capability