X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fsecurity.yml;h=02afc9eaaa1f96d31b23e00f3cff61bc2b38cbf3;hb=a03c4d90b2c3a84ecb994417e2877a7d847b462c;hp=171a69e2e0596d9aded5895f2421b9c02194097c;hpb=63f9f22fa37b14171c6f92d24f99ccf01ae7af00;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/security.yml b/app/config/security.yml index 171a69e2..02afc9ea 100644 --- a/app/config/security.yml +++ b/app/config/security.yml @@ -12,7 +12,7 @@ security: class: WallabagUserBundle:User property: username fos_userbundle: - id: fos_user.user_provider.username + id: fos_user.user_provider.username_email # the main part of the security, where you can set up firewalls # for specific sections of your app @@ -41,7 +41,6 @@ security: form_login: provider: fos_userbundle csrf_token_generator: security.csrf.token_manager - failure_handler: wallabag_user.security.custom_auth_failure_handler anonymous: true remember_me: @@ -61,7 +60,8 @@ security: - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY } - - { path: /(unread|starred|archive).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: /(unread|starred|archive|all).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } + - { path: /tags/(.*).xml$, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/share, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/settings, roles: ROLE_SUPER_ADMIN } - { path: ^/annotations, roles: ROLE_USER }