[Zope] creating a new permission

2006-06-07 Thread thomas desvenain
hello, i am searching for hours, and i don't find how to define a new permission, in python code, for my product can you help me ? thanks thomas ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] creating a new permission

2006-06-07 Thread Andreas Jung
Look at the e.g. at the PloneCollectorNG sources..it defines new roles and permissions. -aj --On 7. Juni 2006 09:53:10 +0200 thomas desvenain [EMAIL PROTECTED] wrote: hello, i am searching for hours, and i don't find how to define a new permission, in python code, for my product can you

Re: [Zope] creating a new permission

2006-06-07 Thread Martin Aspeli
thomas desvenain wrote: i am searching for hours, and i don't find how to define a new permission, in python code, for my product Permissions kind of spring into existence when they are used. For example, Poi defines some additional permissions in Products/Poi/permissions.py. It then

Re: [Zope] creating a new permission

2006-06-07 Thread Sascha Welter
(Wed, Jun 07, 2006 at 12:00:10PM -0400) [EMAIL PROTECTED] wrote/schrieb/egrapse: From: thomas desvenain [EMAIL PROTECTED] i am searching for hours, and i don't find how to define a new permission, in python code, for my product Something I wrote a while ago, Introduction to some Zope