mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
FEATURE: [confidential][voter] bulk assign right should also give right to access confidential parcours
This commit is contained in:
parent
9ccc57bbcb
commit
b3d993165d
@ -225,6 +225,10 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* if ($this->voterHelper->voteOnAttribute(self::REASSIGN_BULK, null, $token)) {
|
||||||
|
return true;
|
||||||
|
}*/
|
||||||
|
|
||||||
return $token->getUser() === $subject->getUser();
|
return $token->getUser() === $subject->getUser();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user