Commit 38720d86 authored by iv's avatar iv

ERP5Workflow: put security back on listActions method

parent 585d043a
......@@ -783,8 +783,6 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
def delTypeCBT(self, pt, wf_id):
self._chains_by_type[pt] = tuple(wf for wf in self._chains_by_type[pt] if wf!=wf_id)
# XXX(WORKFLOW) check what was the security before
security.declarePublic('listActions')
def listActions(self, info=None, object=None, src__=False):
"""
Returns a list of actions to be displayed to the user.
......
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