Explorar el Código

Anomalie #154: User standart a accès au panel de moderation

bastien hace 13 años
padre
commit
fd22cc207d
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/Muzich/CoreBundle/Resources/config/security.yml

+ 1 - 0
src/Muzich/CoreBundle/Resources/config/security.yml Ver fichero

@@ -46,6 +46,7 @@ security:
46 46
       
47 47
         # PAGES ACCESSIBLES AUX ADMINISTRATEURS
48 48
         - { path: ^/admin, role: ROLE_ADMIN }
49
+        - { path: "^/(?:fr|en)/admin", roles: ROLE_ADMIN }
49 50
       
50 51
         # AUTRES
51 52
         - { path: "^/hello", roles: IS_AUTHENTICATED_ANONYMOUSLY }