Role specific access rights for Python scripts
Hello, I try to set up a user role which is allowed to vie the output of some python scripts in a certain folder. I created a new role and started by checking every single checkbox for this role in the "Security" tab of the new script. But if I select the URL of the script I get: Zope has encountered an error while publishing this resource. Error Type: Unauthorized Error Value: You are not allowed to access manage_test in this context Any hint, what might be wrong here? Kind regards Andreas.
On Tue, 15 Oct 2002, Andreas Tille wrote:
I try to set up a user role which is allowed to vie the output of some python scripts in a certain folder. I created a new role and started by checking every single checkbox for this role in the "Security" tab of the new script. But if I select the URL of the script I get:
Zope has encountered an error while publishing this resource.
Error Type: Unauthorized Error Value: You are not allowed to access manage_test in this context
Clarification: The Script did a call to rs = context.My_SQL_Method.manage_test() and this was not allowed for the user in question. I defined a Role which is allowed to do this which solved the problem. Thanks for your attention Andreas.
participants (1)
-
Andreas Tille