mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
FEATURE: [confidential][voter] bulk assign right should also give right to access confidential parcours
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user