From 2139febbe2a7e0c8a5ee3ded69c03051f00a9e2c Mon Sep 17 00:00:00 2001 From: Gwildor Sok Date: Wed, 22 May 2024 21:07:44 +0200 Subject: [PATCH] [SCOUT] Fix membership applications denied for admins (#195) --- config/packages/security.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index ae7dbd8..b204511 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -32,6 +32,9 @@ security: # https://symfony.com/doc/current/security/impersonating_user.html # switch_user: true + role_hierarchy: + ROLE_ADMIN: [ROLE_DIVISION_CONTACT] + # Easy way to control access for large sections of your site # Note: Only the *first* access control that matches will be used access_control: