Resolve "Check permission rules if they handle lessons with substitutions correctly"
requested to merge 147-check-permission-rules-if-they-handle-lessons-with-substitutions-correctly into master
Closes #147 (closed)
get_teachers
will return the following:
- simply the teachers for events and extra lessons
- the original teachers for lesson periods without substitution, otherwise the new teacher
So, we have to check the teachers of lesson periods additionally to keep the access for the original teacher.
Edited by Nik | Klampfradler