Re: [Zope3-Users] Grant role top zope.anybody

2007-02-18 Thread Florian Lindner
Am Samstag, 17. Februar 2007 23:35 schrieb Marius Gedminas: On Sat, Feb 17, 2007 at 12:48:05PM +0100, Florian Lindner wrote: Hello, I've tried to grant a role to zope.anybody (any user that visits the site). Tried it this way: grant role = my.role principal =

Re: [Zope3-Users] Grant role top zope.anybody

2007-02-18 Thread Marius Gedminas
On Sun, Feb 18, 2007 at 11:47:06AM +0100, Florian Lindner wrote: Am Samstag, 17. Februar 2007 23:35 schrieb Marius Gedminas: On Sat, Feb 17, 2007 at 12:48:05PM +0100, Florian Lindner wrote: ZCML is order-dependent (sadly). You need to put your grant after the principal definition. This

Re: [Zope3-Users] Grant role top zope.anybody

2007-02-17 Thread Marius Gedminas
On Sat, Feb 17, 2007 at 12:48:05PM +0100, Florian Lindner wrote: Hello, I've tried to grant a role to zope.anybody (any user that visits the site). Tried it this way: grant role = my.role principal = zope.anybody / But this gives a unknown principal id error,