Separate role "see confidential course" from "reassign bulk"

This commit is contained in:
2023-07-05 22:06:21 +02:00
parent 779eb812b0
commit ff1629cbb7
3 changed files with 3 additions and 5 deletions

View File

@@ -983,10 +983,6 @@ class ChillPersonExtension extends Extension implements PrependExtensionInterfac
AccompanyingPeriodVoter::EDIT,
AccompanyingPeriodVoter::DELETE,
],
AccompanyingPeriodVoter::REASSIGN_BULK => [
AccompanyingPeriodVoter::SEE_CONFIDENTIAL_ALL,
AccompanyingPeriodVoter::TOGGLE_CONFIDENTIAL_ALL,
],
AccompanyingPeriodVoter::TOGGLE_CONFIDENTIAL_ALL => [
AccompanyingPeriodVoter::SEE_CONFIDENTIAL_ALL,
],