Re: [Zope] security for ZPT-based Product

2005-07-11 Thread Andreas Pakulat
On 11.Jul 2005 - 18:27:57, Milos Prudek wrote: How can I manage permissions for imported ZPT files? Relevant lines from my Product: from AccessControl import ClassSecurityInfo class MyClass(): security=ClassSecurityInfo()

Re: [Zope] security for ZPT-based Product

2005-07-11 Thread Jens Vagelpohl
On 11 Jul 2005, at 17:41, Andreas Pakulat wrote: add a security.declareProtected('comment_add_form', 'right that is granted to Authenticated users only') Where the second string would be one of the rights listed on the security tab with in the ZMI. If that right is granted to the authenticated