wip.. setting acl for new accompanying course exports

This commit is contained in:
2022-07-12 16:41:12 +02:00
parent ec38dc4d21
commit 2ce145cace
4 changed files with 61 additions and 17 deletions

View File

@@ -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);