|
- security:
- encoders:
- App\Entity\User\User:
- algorithm: auto
-
-
- providers:
-
- app_user_provider:
- entity:
- class: App\Entity\User\User
- property: email
- firewalls:
- dev:
- pattern: ^/(_(profiler|wdt)|css|images|js)/
- security: false
-
- main:
- pattern: ^/
- anonymous: true
- lazy: true
- provider: app_user_provider
- guard:
- authenticators:
- - Lc\SovBundle\Authenticator\LoginFormAuthenticator
- logout:
- path: sov_logout
-
-
-
-
-
-
-
-
-
-
-
- access_control:
- - { path: ^/manager, roles: [ROLE_ADMIN, ROLE_SUPER_ADMIN] }
- - { path: ^/admin, roles: [ROLE_ADMIN, ROLE_SUPER_ADMIN] }
- - { path: ^/profile, roles: ROLE_USER }
|