From cd8553e1b9098db26de2640d0ea1dc9a151cc0b2 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 28 Jan 2025 10:10:59 +0100 Subject: [PATCH] remove invalid access control rule --- config/packages/security.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 47dd868fd..f923e3b64 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -60,13 +60,6 @@ security: # See https://symfony.com/doc/current/security/experimental_authenticators.html#configuring-the-authentication-entry-point entry_point: 'form_login' - # Easy way to control access for large sections of your site - # Note: Only the *first* access control that matches will be used - access_control: - # this is a catch-all for the admin area - # additional security lives in the controllers - - { path: '^/{_locale}/admin', roles: ROLE_ADMIN } - # The ROLE_ADMIN role inherits from the ROLE_USER role role_hierarchy: ROLE_ADMIN: ROLE_USER