Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69561

Add common module settings for course content download

XMLWordPrintable

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_400_STABLE
    • MDL-69561-master
    • Hide

      Setup

      1. Login as admin.
      2. Go to "Administration > Courses > Download course content".
      3. Enable "Download course content feature available".
      4. Create a course and set "Enable download course content" to "Yes".
      5. Create two folder resources, one having "Enable download course module content" set to "Yes" and the other set to "No".

      Testing content export

      1. Log in as admin and go to a course.
      2. On the course page, go to "Course administration > Download course content".
      3. Open the zip file and make sure the resource with "Enable download course module content" set to No has not been exported, and the resource set to Yes has been exported.

      Testing backup/restore

      1. Still logged in as admin, backup the course with the two resources.
      2. Restore that backup into a new course.
      3. After the restore, visit the course and click to edit settings of those two activities.
      4. Make sure the "Enable download course module content" has the same value as the backed up course.
      Show
      Setup Login as admin. Go to "Administration > Courses > Download course content". Enable "Download course content feature available". Create a course and set "Enable download course content" to "Yes". Create two folder resources, one having "Enable download course module content" set to "Yes" and the other set to "No". Testing content export Log in as admin and go to a course. On the course page, go to "Course administration > Download course content". Open the zip file and make sure the resource with "Enable download course module content" set to No has not been exported, and the resource set to Yes has been exported. Testing backup/restore Still logged in as admin, backup the course with the two resources. Restore that backup into a new course. After the restore, visit the course and click to edit settings of those two activities. Make sure the "Enable download course module content" has the same value as the backed up course.
    • 0
    • International 4.0 - Sprint 6, International 4.0 - Sprint 7, Internationals - 3.11 Sprint 1, Internationals - 3.11 Sprint 2, Internationals - 3.11 Sprint 3, Internationals - 3.11 Sprint 4, Internationals - 3.11 Sprint 5, HQ Team International Sprint 6, HQ Team International Sprint 7, HQ Team International Sprint 8, HQ Team International Sprint 9, HQ Team International Sprin 10, HQ Team International CI H2-21

      We need to add common module settings for course content download, so when the content download is enabled at the course-level, exporting of individual activities can be controlled:

      1. To keep this simple, it can use Enabled/Disabled, and follow the logic of "if course download is enabled, will this activity be part of the download". This means it would be enabled by default, so that if course download is enabled, the default would be all activities are part of the export (and means if course download is disabled, no activities can be exported, so this value is irrelevant).

      Allow changes to the settings to be controlled by the same capability as the course-level setting.

      Need to ensure that an existing configuration is not modified by a user who does not have permission - i.e. privileged user sets it up with different settings, teacher updating the activity/course in other ways does not unset those values (ie the value could be visible but locked for teachers editing the activity without capability to edit this setting).

            lameze Simey Lameze
            dobedobedoh Andrew Lyons
            Michael Hawkins Michael Hawkins
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Angelia Dela Cruz Angelia Dela Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 4 days, 3 hours, 42 minutes
                1w 4d 3h 42m

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