Commit e3d39477 authored by iv's avatar iv

ERP5Workflow: declare execute WorkflowScript method as public

this is a wrapper for the PythonScript __call__ method
It should fix testSecurity
parent 4c932768
...@@ -52,6 +52,7 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_", "prefix")): ...@@ -52,6 +52,7 @@ class WorkflowScript(PythonScript, IdAsReferenceMixin("script_", "prefix")):
, PropertySheet.PythonScript , PropertySheet.PythonScript
) )
security.declarePublic("execute")
execute = PythonScript.__call__ execute = PythonScript.__call__
InitializeClass(WorkflowScript) InitializeClass(WorkflowScript)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment