exports: add 2 new exports for accompanying courses

This commit is contained in:
2022-07-12 15:16:38 +02:00
parent 56bed12886
commit 28ed09b9d9
5 changed files with 215 additions and 0 deletions

View File

@@ -38,8 +38,14 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
self::TOGGLE_CONFIDENTIAL_ALL,
self::TOGGLE_INTENSITY,
self::RE_OPEN_COURSE,
self::STATS,
];
/**
* Give the ability to see statistics
*/
public const STATS = 'CHILL_PERSON_ACCOMPANYING_PERIOD_STATS';
/**
* Give the ability to see all confidential courses.
*/
@@ -129,6 +135,7 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
self::FULL,
self::TOGGLE_CONFIDENTIAL_ALL,
self::REASSIGN_BULK,
self::STATS,
];
}