When requests to instructors are sent in
Instructor can request some classes that they want to be assigned to. To do that, they can use mackig link to Instructor requests page.
TODO describe magic link generation process
When instructor open that page, user will be automaticly loged to system as instructor that was bound with JWT, but its not regular login, that why we cant use any db ops that related to actor, so be carefull
JWT token reuse
User are able to open same page in future by same JWT and change requested data.
But also there is no problem if more JWTs will generated for same instructor same way as before
Priority problem
All priorities go across all templates that allowed to work with for instructor, so if instructor request two classes in two templates, one will have priority number 1 and other will have priority number 2.
If second one, will be change its priority to 1 then first one, will be automaticty changed to priority 2, as priority cannot be same for two classes and it should be one list across all requestSend request to instructors they will receive email with link, that navigates to the instructors request page.
...
Instructors can a fill form to specify their working preferences, check possible classes and request them.
Max. weekly classes - instructors expectations about maximum weekly classes.
Message - will be shown to Facility responsible persons and helps to assign instructors later.
Facility - the instructor can work on different facilities and this filter allows to switch between them
Show - show only classes where instructors are qualified to work on or all classes in a week
After instructor fills the form, he requested to save and send it by pressing “Approve request” button.