check the docs : http://www.symfony-project.org/book/1_2/06-Inside-the-Controller-Layer#chapter_06_sub_complex_credentials
As soon as you open a new "[" bracket, the logic operator changes ( AND / OR ). You can then switch operator by doing: [[ admin, [editor, creator], supervisor, [[ tester, editor]] ] On 19 oct, 11:55, Gábor Fási <maerl...@gmail.com> wrote: > The difference comes when you have multiple credentials: > > [c1, c2] means the user must have both c1 and c2 > [[c1, c2]] means the user must have at least one of c1 and c2 > > but there's no diff between [admin] and [[admin]]. > > > > On Tue, Oct 19, 2010 at 11:53, Javier Garci <tirengar...@gmail.com> wrote: > > Hi, > > > is there any difference between "credentials: [[admin]]" and "credentials: > > [admin]" ? > > > Javier > > > -- > > If you want to report a vulnerability issue on symfony, please send it to > > security at symfony-project.com > > > You received this message because you are subscribed to the Google > > Groups "symfony users" group. > > To post to this group, send email to symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en