3 Wallabag\CoreBundle\Entity\User:
5 encode_as_base64: false
10 ROLE_SUPER_ADMIN: [ ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH ]
14 entity: { class: WallabagCoreBundle:User, property: username }
16 # the main part of the security, where you can set up firewalls
17 # for specific sections of your app
36 check_path: /login_check
40 always_use_default_target_path: false
41 default_target_path: /
42 target_path_parameter: _target_path
46 failure_forward: false
48 username_parameter: _username
49 password_parameter: _password
51 csrf_parameter: _csrf_token
52 intention: authenticate
65 - { path: ^/api/salt, roles: IS_AUTHENTICATED_ANONYMOUSLY }
66 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
67 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
68 - { path: ^/forgot-password, roles: IS_AUTHENTICATED_ANONYMOUSLY }
69 - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
70 - { path: ^/, roles: ROLE_USER }