Skip to content

Commit f0509eb

Browse files
committed
bug #1557 remove invalid access control rule (xabbuh)
This PR was merged into the main branch. Discussion ---------- remove invalid access control rule fixes #1553 Commits ------- cd8553e remove invalid access control rule
2 parents 7c87888 + cd8553e commit f0509eb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

config/packages/security.yaml

-7
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ security:
6060
# See https://symfony.com/doc/current/security/experimental_authenticators.html#configuring-the-authentication-entry-point
6161
entry_point: 'form_login'
6262

63-
# Easy way to control access for large sections of your site
64-
# Note: Only the *first* access control that matches will be used
65-
access_control:
66-
# this is a catch-all for the admin area
67-
# additional security lives in the controllers
68-
- { path: '^/{_locale}/admin', roles: ROLE_ADMIN }
69-
7063
# The ROLE_ADMIN role inherits from the ROLE_USER role
7164
role_hierarchy:
7265
ROLE_ADMIN: ROLE_USER

0 commit comments

Comments
 (0)