[Zope-CMF] Zope 2.7.5 and proxy role for workflow scripts
Florent Guillaume
fg at nuxeo.com
Thu Mar 31 07:15:23 EST 2005
Sune B. Woeller <sune at syntetisk.dk> wrote:
> After upgrading to Zope 2.7.5 I experience the following behaviour:
>
> In a dcwokflow, i have a script with the following
> content, narrowed down for simplicity:
>
> # get the object and its ID
> obj = state_change.object
>
> Unauthorized: The owner of the executing script is defined outside the
> context of the object being accessed. The script has
> proxy roles, but they do not apply in this context.. Access to 'object' of
> (Products.DCWorkflow.Expression.StateChangeInfo i
> nstance at 0x03B85F80) denied. Access requires View_Permission, granted to
> the following roles: ['Manager', 'Member', 'Owner'
> , 'Reviewer']. The executing script is (PythonScript at
> /blaagaard/portal_workflow/plone_workflow/scripts/test), owned by sune.
Could you check that user 'sune' still exists in you user folder.
Or change who owns that python script (Owner tab).
Florent
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the Zope-CMF
mailing list