Olivier Massot 3 місяців тому
батько
коміт
3ccd6c3484

+ 2 - 0
config/opentalent/products.yaml

@@ -34,6 +34,8 @@ parameters:
           - SubdomainAvailability
           - UserSearchItem
           - DolibarrDocDownload
+          - AuthUrl
+          - ConnectionRequest
         roles:
           - ROLE_IMPORT
           - ROLE_TAGG

+ 1 - 1
src/ApiResources/HelloAsso/AuthUrl.php

@@ -19,7 +19,7 @@ use App\State\Provider\HelloAsso\AuthUrlProvider;
         ),
     ],
     provider: AuthUrlProvider::class,
-    security: '(is_granted("ROLE_ORGANIZATION")'
+    security: 'is_granted("ROLE_ORGANIZATION")'
 )]
 class AuthUrl
 {