Personal tools
You are here: Home Documentation Error References 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.
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

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.

This Error Reference applies to: Plone 2.5.x
This Error Reference is intended for: Any audience.

You did everything you could to make sure your workflow script has the necessary permissions to do what it needs to do and it still does not work? Check this

You recently had a message like this (with verbose security. without it will just be something like: Unauthorized. Access to 'object' denied.):

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 instance at 0x...) denied. Access requires one of the following roles: ['Manager', 'Owner', 'Reviewer']. The executing script is (PythonScript at /site/portal_workflow/my_workflow/scripts/myScript), owned by <PropertiedUser 'admin'>.

Of course you did everything to make sure your workflow script works and gave it Manager proxy role... you never know...

Now my advice: try it without the proxy role and just make sure the user has the "Access contents information" permission.

I do not know exactly WHY this occurs, but just removing the proxy role worked for me. Comments that explain the reason are welcome :)

by Sven Deichmann last modified March 20, 2008 - 05:25 All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by