[Zope] security for ZPT-based Product

Andreas Pakulat apaku at gmx.de
Mon Jul 11 14:07:44 EDT 2005


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.


More information about the Zope mailing list