creation of endpoints POST, PUT, PATCH, but still errors

This commit is contained in:
2021-09-28 16:23:24 +02:00
parent 9851efa804
commit 644d0420ce
4 changed files with 116 additions and 11 deletions

View File

@@ -61,6 +61,8 @@ class ThirdPartyVoter extends AbstractChillVoter implements ProvideRoleHierarchy
if (!$user instanceof User) {
return false;
}
return true;
$centers = $this->authorizationHelper
->getReachableCenters($user, new Role($attribute));