adding access_control examples and small warning

This commit is contained in:
Ryan Weaver
2018-02-02 10:22:38 -05:00
parent d3ce701a71
commit ad6f71a5e3
@@ -16,3 +16,9 @@ security:
# form_login: ~
# https://symfony.com/doc/current/security/form_login_setup.html
# easy way to control access for large sections of your site
# note: only the *first* access control that matches will be used
access_control:
# - { path: ^/admin, roles: ROLE_ADMIN }
# - { path: ^/profile, roles: ROLE_USER }