[Zope-CMF] possible bug, action condition not obeyed by _getViewFor

Sune Brøndum Wøller sune at syntetisk.dk
Wed Nov 19 19:43:32 EST 2003


Hi all,

possible bug:
The _getViewFor in utils.py doesn't obey the condition 
set on the action.
(it only checks permissions)

Context : when defining two 'view' actions on a portal type
with mutually exclusive conditions.

I try to use it to have different default views depending on
whether the user is logged in.

should it be posted in the collector ?

/Sune



More information about the Zope-CMF mailing list