Ver Fonte

right adjust

Vincent há 2 meses atrás
pai
commit
1b60d2d76b
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      config/abilities/pages/helloasso.yaml

+ 5 - 1
config/abilities/pages/helloasso.yaml

@@ -1,4 +1,8 @@
 helloasso_page:
   action: 'display'
   conditions:
-    - { function: organizationHasAnyModule, parameters: ['GeneralConfig'] }
+    - { function: organizationHasAnyModule, parameters: ['HelloAsso'] }
+    - {
+      function: accessHasAnyRoleAbility,
+      parameters: [{ action: 'read', subject: 'helloasso' }],
+    }