mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
role added to voter, but no check yet
This commit is contained in:
parent
9c428f989c
commit
f681e50167
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user