allow homepage for all users

This commit is contained in:
Jannis Portmann 2021-05-09 17:52:08 +02:00
parent 54486d008c
commit 9fac9e6607

View file

@ -36,5 +36,6 @@ security:
# Note: Only the *first* access control that matches will be used # Note: Only the *first* access control that matches will be used
access_control: access_control:
# - { path: ^/admin, roles: ROLE_ADMIN } # - { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^/$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/admin, roles: ROLE_ADMIN } - { path: ^/admin, roles: ROLE_ADMIN }
- { path: ^(?!/(login|register|reset-password)), roles: ROLE_USER } - { path: ^(?!/(login|register|reset-password|offers)), roles: ROLE_USER }