mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-27 10:03:49 +00:00
wip.. setting acl for new accompanying course exports
This commit is contained in:
@@ -219,6 +219,11 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
|
||||
|
||||
return $token->getUser() === $subject->getUser();
|
||||
}
|
||||
|
||||
if (self::STATS === $attribute) {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $this->voterHelper->voteOnAttribute($attribute, $subject, $token);
|
||||
|
Reference in New Issue
Block a user