[Zope] security for ZPT-based Product

Jens Vagelpohl jens at dataflake.org
Mon Jul 11 12:49:16 EDT 2005


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.

jens



More information about the Zope mailing list