This commit is contained in:
Jannis Portmann 2021-05-02 14:48:03 +02:00
commit d7002df737
3 changed files with 58 additions and 35 deletions

View file

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