Temporarily disable ACL on new exports

This commit is contained in:
2022-07-14 10:26:26 +02:00
parent 2f42b9411a
commit e323937405
3 changed files with 5 additions and 6 deletions

View File

@@ -38,7 +38,6 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
self::TOGGLE_CONFIDENTIAL_ALL,
self::TOGGLE_INTENSITY,
self::RE_OPEN_COURSE,
self::STATS,
];
/**
@@ -220,10 +219,6 @@ class AccompanyingPeriodVoter extends AbstractChillVoter implements ProvideRoleH
return $token->getUser() === $subject->getUser();
}
if (self::STATS === $attribute) {
return true;
}
}
return $this->voterHelper->voteOnAttribute($attribute, $subject, $token);