marsha
marsha copied to clipboard
✨(backend) Add portability request feature
Purpose
This new feature will provide the instructors a way to ask for a portability to their playlist when possible.
Proposal
When accessing a resource from a direct URL from LTI:
When the resource does not exist
Same as before: we won't link the creating user to the new resource. (To be confirmed)
When the resource exists

To answer The Marsha owner of the resource is known, we need to determine whether:
- the resource belongs to a playlist with an organization with a user who can give access
- the resource belongs to a playlist with a consumer site whose organization has a user who can give access
- the resource belongs to a playlist with a user who can give access
- the resource belongs to a playlist created by a user
--
- [x] Update portability requests associated to the user when a new association is created
- [x] Add portability request table
- [x] Add portability request API
- [x] Add portabliity request LTI frontend view for:
- [x] Video / Document
- [x] Classroom
- [x] Markdown document
- [x] Deposit