Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13847 backup/restore issues meta
  3. MDL-8905

Fix use of course:create in restore

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 1.8
    • Backup
    • None
    • MOODLE_18_STABLE

      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

            Unassigned Unassigned
            skodak Petr Skoda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.