3 FOS\UserBundle\Model\UserInterface: sha512
7 ROLE_SUPER_ADMIN: [ ROLE_USER, ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH ]
12 class: WallabagUserBundle:User
15 id: fos_user.user_provider.username
17 # the main part of the security, where you can set up firewalls
18 # for specific sections of your app
20 # disables authentication for assets and the profiler, adapt it according to your needs
22 pattern: ^/(_(profiler|wdt)|css|images|js)/
26 pattern: ^/oauth/v2/token
42 provider: fos_userbundle
43 csrf_token_generator: security.csrf.token_manager
57 - { path: ^/api/doc, roles: IS_AUTHENTICATED_ANONYMOUSLY }
58 - { path: ^/api/version, roles: IS_AUTHENTICATED_ANONYMOUSLY }
59 - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
60 - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
61 - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
62 - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
63 - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY }
64 - { path: ^/settings, roles: ROLE_SUPER_ADMIN }
65 - { path: ^/annotations, roles: ROLE_USER }
66 - { path: ^/users, roles: ROLE_SUPER_ADMIN }
67 - { path: ^/, roles: ROLE_USER }