Show
Preparation
Create 3 courses - A, B, and C.
In the "Course A", make a override permission to 'enrol/manual:enrol' for role 'Non-editing teacher' as following processes.
Go to "Course A" homepage, click "More..." from cog icon.
Click "Users", then click "Permissions" in the course administration page.
Filter by 'enrol/manual:enrol' , and add 'Non-editing teacher' to "Roles with permission".
Create a backup ("Backup-A") from "Course A" as following processes.
Go to "Course A" homepage, click "Backup" from cog icon.
Click "Jump to final step".
Click "Continue" to complete the backup.
Test default settings
In site administration page, search setting by "backup".
Confirm "Include override permissions" options are in the category below, with NOTE:
General import defaults (backup | backup_import_permissions), Default: No
General restore defaults (restore | restore_general_permissions), Default: Yes
Set "Include override permissions" for "General import defaults" OFF and "General restore defaults" ON from administration page.
Confirm "Include override permissions" is OFF for "General import defaults" as following processes.
Go to "Course B" homepage, and click "Import" from cog icon.
Choose "Course A" in course selection, and click "Continue".
Confirm "Include override permissions" is NOT selected .
Confirm "Include override permissions" is ON for "General restore defaults" as following processes.
Go to "Course A" homepage.
Click "Restore" from cog icon.
Click "Restore" from "Backup-A" in Unit backup area.
Click "Continue" in "Confirm" section.
Choose a category in "Restore as a new course", and click "Continue".
Confirm "Include override permissions" is selected.
Set "Include override permissions" for "General import defaults" ON and "General restore defaults" OFF from administration page.
Confirm "Include override permissions" is ON for "General import defaults" as following processes.
Go to "Course B" homepage, and click "Import" from cog icon.
Choose "Course A" in course selection, and click "Continue".
Confirm "Include override permissions" is selected .
Confirm "Include override permissions" is OFF for "General restore defaults" as following processes.
Go to "Course A" homepage.
Click "Restore" from cog icon.
Click "Restore" from "Backup-A" in Unit backup area.
Click "Continue" in "Confirm" section.
Choose a category in "Restore as a new course", and click "Continue".
Confirm "Include override permissions" is NOT selected .
Test Import
Import from "Course A" to "Course B" as following processes.
Go to "Course B" homepage, and click "Import" from cog icon.
Choose "Course A" in course selection, and click "Continue".
Make sure "Include override permissions" is ticked , and click "Jump to final step".
Click "Continue".
Confirm the "Course B" has 'enrol/manual:enrol' permission for role 'Non-editing teacher' as following processes.
Click "More..." from cog icon.
Click "Users", then click "Permissions" in the course administration page.
Filter by 'enrol/manual:enrol'.
Confirm 'Non-editing teacher' is in "Roles with permission".
Import from "Course A" to "Course C" as following processes.
Go to "Course C" homepage, and click "Import" from cog icon.
Choose "Course A" in course selection, and click "Continue".
Make sure "Include override permissions" is NOT ticked , and click "Jump to final step".
Click "Continue".
Confirm the "Course C" does NOT have 'enrol/manual:enrol' permission for role 'Non-editing teacher' as following processes.
Click "More..." from cog icon.
Click "Users", then click "Permissions" in the course administration page.
Filter by 'enrol/manual:enrol'.
Confirm 'Non-editing teacher' is in "Roles with permission".
Test Restore
Go to "Course A" homepage.
Confirm the restored course with "Include override permissions" has 'enrol/manual:enrol' permission for role 'Non-editing teacher' as following processes.
Click "Restore"In the restore page, choose "Backup-A" and click "Restore".
Confirm the "Include override permissions" is ON in Backup settings in "1. Confirm" section.
Choose "Restore as a new course" in "2. Destination" section.
Confirm "Include override permissions" option is available, and turn on for the option in "3. Settings" section.
Confirm "Include override permissions" is ON in the restore settings in "5. Preview" section. Perform restore.
Confirm the restored course has a override permission to 'enrol/manual:enrol' for role 'Non-editing teacher' .
Confirm the restored course without "Include override permissions" does NOT have 'enrol/manual:enrol' permission for role 'Non-editing teacher' as following processes.
In the restore page, choose "Backup-A" and click "Restore".
Same procedure as before, but untick the option in "3. Settings" section.
Confirm "Include override permissions" is OFF in the restore settings in "5. Preview" section. Perform restore.
Confirm the restored course does NOT have a override permission to 'enrol/manual:enrol' for role 'Non-editing teacher'