Re: [symfony-users] Re: Question about security in sf2

2011-06-06 Thread Christophe COEVOET
Le 06/06/2011 18:17, Javier Garcia a écrit : On Jun 6, 6:10 pm, Christophe COEVOET wrote: the firewall section defines the authentication, not the authorization. Yes I know that. My question is: If authentication is defined in the section "firewalls" (as the manual says), why do you say the

Re: [symfony-users] Re: Question about security in sf2

2011-06-06 Thread Christophe COEVOET
Le 06/06/2011 17:55, Javier Garcia a écrit : Thanks for your effort C :), I want to ask you something more: If authentication is defined in the section "firewalls", why do you say the line "/- { path: ^/admin, roles: ROLE_ADMIN }/ " becomes this sentence: "Any URL matching /admin/* is secured, a

Re: [symfony-users] Re: Question about security in sf2

2011-06-06 Thread Christophe COEVOET
Le 06/06/2011 17:31, Javier Garcia a écrit : On Jun 6, 5:10 pm, Christophe COEVOET wrote: This is defined in the access_control section which requires having the ROLe_ADMIN role to access all url starting by /admin (and the provider section tells you that the admin user has this role). Thank