[Zope] Re: Adding permission to an action yields infinite recursion
Dieter Maurer
dieter at handshake.de
Fri Nov 11 13:52:59 EST 2005
Please stay on the list! Readded...
Lars von Wedel wrote at 2005-11-10 10:49 +0100:
> ...
>I don't understand how or where this is taking place in my example. The
>page template called consists of static HTML only. Does the following
>action definition cause the problem?
>
> {'action': "string:$object_url/view_available_books",
> 'category': "object",
> 'id': 'view',
> 'name': 'view_available_books',
> 'permissions': (VIEW_LIBRARY_PERMISSION,),
> 'condition' : 'python:1'
> },
>
>Why does the problem only occur, if permissions for the action are _not_
>granted?
This action looks innocent.
Look at the code causing the recursion to understand why it recurses ;-)
--
Dieter
More information about the Zope
mailing list