[Zope-CMF] Zope 2.7.5 and proxy role for workflow scripts
Dieter Maurer
dieter at handshake.de
Fri Apr 1 16:14:26 EST 2005
Sune B. Woeller wrote at 2005-3-30 22:22 +0200:
> ...
>The script is set to be called after a transition.
>
>Without proxy roles the
>script runs fine.
>If this script gets the proxy role manager (or all roles except anonymous),
>it fails, it has not got access to 'object'.
> ...
>Unauthorized: The owner of the executing script is defined outside the context of the object being accessed.
A very expressive (and therefore good) error message!
The (execution) owner of the script is not defined in a user folder
in one of the ancestors of the script.
--
Dieter
More information about the Zope-CMF
mailing list