Resolve "Check permission rules if they handle lessons with substitutions correctly" #548

Merged
Owner

Closes #147

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.

Closes #147 `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.
Author
Owner

added 1 commit

  • c2e98047 - Fix predicates for lesson teachers to check both original teachers and substitution teachers

Compare with previous version

added 1 commit <ul><li>c2e98047 - Fix predicates for lesson teachers to check both original teachers and substitution teachers</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/158/diffs?diff_id=5419&start_sha=d142255ae19fcd6db80d5d657964bc9d707c98de)
Author
Owner

assigned to @nik and unassigned @hansegucker

assigned to @nik and unassigned @hansegucker
Author
Owner

changed the description

changed the description
Author
Owner

marked this merge request as ready

marked this merge request as **ready**
Owner

marked this merge request as draft

marked this merge request as **draft**
Owner

marked this merge request as ready

marked this merge request as **ready**
Author
Owner

added 1 commit

  • 7c0a44c8 - Ensure that original teachers only can view substituted lessons

Compare with previous version

added 1 commit <ul><li>7c0a44c8 - Ensure that original teachers only can view substituted lessons</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/158/diffs?diff_id=5466&start_sha=c2e98047ca006d30bf1111dba215651a4763f186)
Author
Owner

@nik Please check again.

@nik Please check again.
Author
Owner

added 1 commit

  • 8f133168 - Add preference for allowing original teachers to edit their substituted lessons

Compare with previous version

added 1 commit <ul><li>8f133168 - Add preference for allowing original teachers to edit their substituted lessons</li></ul> [Compare with previous version](/AlekSIS/official/AlekSIS-App-Alsijil/-/merge_requests/158/diffs?diff_id=5474&start_sha=7c0a44c836aaa57f00d5d9934f50a07b41a1e64e)
nik merged commit e94a0e7a15 into master 2021-03-11 12:01:21 +01:00
Owner

mentioned in commit e94a0e7a15

mentioned in commit e94a0e7a15062ac8cb1188001ad662d1179cad36
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
aleksis/AlekSIS-App-Alsijil!548
No description provided.