Fix: authorization helper won't send a list of center if an admin is authenticated

This commit is contained in:
2023-04-24 15:50:27 +02:00
parent 0c5a06c678
commit 9918cf2d58
3 changed files with 17 additions and 36 deletions

View File

@@ -2631,11 +2631,6 @@ parameters:
count: 2
path: src/Bundle/ChillMainBundle/Security/Authorization/AuthorizationHelper.php
-
message: "#^Call to method getRoleScopes\\(\\) on an unknown class Chill\\\\MainBundle\\\\Entity\\\\PermissionGroup\\.$#"
count: 1
path: src/Bundle/ChillMainBundle/Security/Authorization/AuthorizationHelper.php
-
message: "#^Empty array passed to foreach\\.$#"
count: 1