We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ce701 commit ad6f71aCopy full SHA for ad6f71a
symfony/security-bundle/3.3/config/packages/security.yaml
@@ -16,3 +16,9 @@ security:
16
17
# form_login: ~
18
# 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