Resolve "Prevent teachers from removing their own rights"
When using "Add a single participant option", a teacher can't demote themselves if they are the only teacher in the edition, they can demote a teacher with a warning if there are more than one for the edition.
The leave button in the participants page is inaccessible for the teacher if there is only one teacher for the edition.
Also does not let users demote using Csv file.
Closes #621 (closed)
Merge request reports
Activity
added difficultylow priomed + 1 deleted label
added 63 commits
-
3b77b921...5cb85a21 - 59 commits from branch
development
- 05269194 - Create participant checks for demote cases for teachers
- e1e83a90 - Check demotion in csv files and refactor the single add option
- 89b85630 - Make leave button unavailable when demoting and refactor single add participant
- d880cdd0 - Fixing tests and error banner
Toggle commit list-
3b77b921...5cb85a21 - 59 commits from branch
added 4 commits
Toggle commit list Policy violation(s) detectedSecurity and compliance scanners enforced by your organization have completed and identified that approvals are required due to one or more policy violations. Review the policy's rules in the MR widget and assign reviewers to proceed. Learn more about Security and Compliance policies.
Edited by GitLab Security Bot- Resolved by Ada Turgut
- Resolved by Ada Turgut
- Resolved by Ada Turgut
- Resolved by Ada Turgut
- Resolved by Ada Turgut
- Resolved by Ada Turgut
- Resolved by Ada Turgut
Please register or sign in to reply