FEATURE: [confidential][voter] bulk assign right should also give right to access confidential parcours

This commit is contained in:
Julie Lenaerts 2023-01-25 15:10:33 +01:00 committed by Julien Fastré
parent 9ccc57bbcb
commit b3d993165d
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -225,6 +225,10 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
return true;
}
/* if ($this->voterHelper->voteOnAttribute(self::REASSIGN_BULK, null, $token)) {
return true;
}*/
return $token->getUser() === $subject->getUser();
}
}