Skip to content

Commit 0ef2894

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #359
2 parents 31f8366 + 4708c94 commit 0ef2894

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

symfony/security-bundle/3.3/config/packages/security.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ security:
1616

1717
# form_login: ~
1818
# https://symfony.com/doc/current/security/form_login_setup.html
19+
20+
# Easy way to control access for large sections of your site
21+
# Note: Only the *first* access control that matches will be used
22+
access_control:
23+
# - { path: ^/admin, roles: ROLE_ADMIN }
24+
# - { path: ^/profile, roles: ROLE_USER }

0 commit comments

Comments
 (0)