On 11.Jul 2005 - 17:49:16, Jens Vagelpohl wrote:
> 
> 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 user only, you have your access restrictions.
> 
> It's the other way around. Permission first, then the method name.

Right, checked an old (wrong) file in my product. Sorry for the mistake.

Andreas

-- 
You are standing on my toes.
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to