Navigation Menu

Skip to content

Commit

Permalink
refine the safety rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfeng authored and sunfeng committed Jan 7, 2013
1 parent 9ae341b commit c00e390
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/config/security.yml
Expand Up @@ -47,4 +47,7 @@ security:
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https } #- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY, requires_channel: https }
#- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 } #- { path: ^/_internal/secure, roles: IS_AUTHENTICATED_ANONYMOUSLY, ip: 127.0.0.1 }
- { path: ^/admin/login, roles: IS_AUTHENTICATED_ANONYMOUSLY } - { path: ^/admin/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/admin, roles: ROLE_ADMIN } - { path: ^/admin/user/*, roles: ROLE_ADMIN }
- { path: ^/admin/category/*, roles: ROLE_ADMIN }
- { path: ^/admin/blog/delete/*, roles: ROLE_ADMIN }
- { path: ^/admin, roles: ROLE_USER }

0 comments on commit c00e390

Please sign in to comment.