|
@@ -50,7 +50,7 @@ security:
|
|
|
|
|
|
|
|
# Note: Only the *first* matching rule is applied
|
|
# Note: Only the *first* matching rule is applied
|
|
|
access_control:
|
|
access_control:
|
|
|
- - { path: ^/(login$|register$|motdepasseoublie$|resetpassword/token=|activate/token=|attente$|fichefilm/|$|liste-by/|liste-by_real/|recherche|prochaines-sorties$|p/about$) , roles: PUBLIC_ACCESS }
|
|
|
|
|
|
|
+ - { path: ^/(login$|pif|register$|motdepasseoublie$|resetpassword/token=|activate/token=|attente$|fichefilm/|$|liste-by/|liste-by_real/|recherche|prochaines-sorties$|p/about$) , roles: PUBLIC_ACCESS }
|
|
|
- { path: ^/admin, roles: ROLE_ADMIN }
|
|
- { path: ^/admin, roles: ROLE_ADMIN }
|
|
|
- { path: ^/genre, roles: ROLE_MODERATEUR }
|
|
- { path: ^/genre, roles: ROLE_MODERATEUR }
|
|
|
- { path: ^/p/edit, roles: ROLE_ADMIN }
|
|
- { path: ^/p/edit, roles: ROLE_ADMIN }
|