瀏覽代碼

minor fixes

Olivier Massot 3 月之前
父節點
當前提交
3ccd6c3484
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      config/opentalent/products.yaml
  2. 1 1
      src/ApiResources/HelloAsso/AuthUrl.php

+ 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
 {