role added to voter, but no check yet

This commit is contained in:
Julie Lenaerts 2022-04-22 17:14:27 +02:00
parent 9c428f989c
commit f681e50167

View File

@ -181,6 +181,10 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
return false;
}
// if (self::REASSIGN_BULK === $attribute) {
// }
// if confidential, only the referent can see it
if ($subject->isConfidential()) {
return $token->getUser() === $subject->getUser();