Check permission rules if they handle lessons with substitutions correctly #147

Closed
opened 2021-03-10 17:16:06 +01:00 by hansegucker · 14 comments
Owner

Currently, original teachers don't get access to their lessons if there are substitutions assigned to this lesson. This has to be fixed and we should check if there any similar issues.

Currently, original teachers don't get access to their lessons if there are substitutions assigned to this lesson. This has to be fixed and we should check if there any similar issues.
Author
Owner

created merge request !548 to address this issue

created merge request !548 to address this issue
Author
Owner

mentioned in merge request !548

mentioned in merge request !548
Owner

When drafting the access model in Alsijil, compeltely transferring the complete teacher role to a substitution teacher was intentional because only one teacher should be able to author notes for a lesson at any given time.

If this is to be changed, it needs to be discussed.

When drafting the access model in Alsijil, compeltely transferring the complete teacher role to a substitution teacher was intentional because only one teacher should be able to author notes for a lesson at any given time. If this is to be changed, it needs to be discussed.
Author
Owner

Yes, you're right. But the original teacher should be able to view the notes for the lesson at least. I will check that again.

Yes, you're right. But the original teacher should be able to **view** the notes for the lesson at least. I will check that again.
Owner

Then again, we already depart from that, because nowadays lessons can have more than one teacher. Thus, we should probably treat substitutions the same as co-teaching…

Then again, we already depart from that, because nowadays lessons can have more than one teacher. Thus, we should probably treat substitutions the same as co-teaching…
Author
Owner

Then I can remove the last commit?

Then I can remove the last commit?
Owner

First, you should provide argumentation. If you support my first position, or maybe the option to make the lesson read-only for the regular teacher, please document why. (Same for all other options; we should not make changes because someone says it might be a good idea without reasoning).

First, you should provide argumentation. If you support my first position, or maybe the option to make the lesson read-only for the regular teacher, please document why. (Same for all other options; we should not make changes because someone says it might be a good idea without reasoning).
Author
Owner

I think we should make the lesson writable for the original and the substitution teacher because of the following points:

  • We already have to deal with the option that there can be more than one teacher which is able to edit a lesson documentation.
  • The risk that the original teacher manipulates the data inserted by the substitution teacher is minimal.
  • The original teacher should be able to edit personal notes afterwards to correct them if necessary (i. e. through student input).
I think we should make the lesson writable for the original and the substitution teacher because of the following points: - We already have to deal with the option that there can be more than one teacher which is able to edit a lesson documentation. - The risk that the original teacher manipulates the data inserted by the substitution teacher is minimal. - The original teacher should be able to edit personal notes afterwards to correct them if necessary (i. e. through student input).
Owner

Do we have a mechanism to notify the original author of a lesson documentation if it is changed by someone else afterwards?

Do we have a mechanism to notify the original author of a lesson documentation if it is changed by someone else afterwards?
Author
Owner

In addition to the change history, nothing.

In addition to the change history, nothing.
Owner

Please open an issue to implement that, then, and link it as follow-up issue in your MR.

Please open an issue to implement that, then, and link it as follow-up issue in your MR.
Author
Owner

marked this issue as related to #148

marked this issue as related to #148
Author
Owner

Now tracked in #148

Now tracked in #148
nik closed this issue 2021-03-11 12:01:20 +01:00
Owner

mentioned in commit e94a0e7a15

mentioned in commit e94a0e7a15062ac8cb1188001ad662d1179cad36
Sign in to join this conversation.
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#147
No description provided.