Guest User

Untitled

a guest
Jun 24th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. pattern: ^/
  2. anonymous: true
  3. logout: true
  4. http_basic:
  5. realm: "test api"
  6. provider: fos_userbundle
  7. stateless: true
  8.  
  9.  
  10. access_control:
  11. - { path: ^/login$, role: IS_AUTHENTICATED_ANONYMOUSLY }
  12. - { path: ^/register, role: IS_AUTHENTICATED_ANONYMOUSLY }
  13. - { path: ^/resetting, role: IS_AUTHENTICATED_ANONYMOUSLY }
  14. - { path: ^/test/, role: IS_AUTHENTICATED_FULLY }
  15. - { path: ^/, role: IS_AUTHENTICATED_FULLY }
Add Comment
Please, Sign In to add comment