Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export/Import for Courses and Activities #2

Open
pluma opened this issue May 28, 2024 · 0 comments
Open

Export/Import for Courses and Activities #2

pluma opened this issue May 28, 2024 · 0 comments

Comments

@pluma
Copy link
Member

pluma commented May 28, 2024

Description

Currently the JSON content of course activities can be copy-pasted to assist admins in maintaining local backups. This feature will extend the course admin UI with options for exporting courses and activities and for re-importing these exported courses and activities.

Implementation Considerations

The exported courses and activities will be generated as downloadable bundle files using a background process. Users should treat the bundle files as opaque. Manual editing and creation of bundle files is not in the scope of this feature.

Activities are identified by UUIDs. We should consider randomizing UUIDs during import to avoid conflicts when importing an activity into the same course it was exported from.

Exam activities can reference other activities. These references will need to be restored on import and may require manual intervention by the importing admin. The export file should include human-readable metadata to help restoring these references instead of showing raw UUIDs.

We may eventually want to allow replacing an activity or course from an exported bundle to allow for easier migration of courses and activities between live and staging systems. We should take this into consideration.

We may eventually provide a mechanism to retain duplicates of courses or activities as online backups. We should take this into consideration.

Activities can specify other activities as prerequisites. If we want to maintain these prerequisites across re-imports, we may need similar intervention and affordances to what we need for handling references in exams.

Courses can be nested. Exporting a course containing other course will require recursively exporting all courses contained within. Admins may want to export a course without any courses contained in it so we should provide both options if applicable.

Exporting/importing courses and activities will use the existing permissions for creating/modifying courses.

@pluma pluma added this to the 2024 Q4 milestone May 28, 2024
@pluma pluma moved this to Planned in OLE Scout Public Roadmap May 28, 2024
@pluma pluma removed this from the 2024 Q4 milestone May 28, 2024
@pluma pluma moved this from Planned to In development in OLE Scout Public Roadmap May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In development
Development

No branches or pull requests

1 participant