Commit 206b9804 authored by wenjie.zheng's avatar wenjie.zheng

WorkflowTool.py: add workflow property manager_bypass.

parent 5aa8e21d
......@@ -268,6 +268,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
workflow = container.newContent(id=new_id, portal_type='Workflow', temp_object=temp)
workflow.setStateVariable(dc_workflow.state_var)
workflow.setWorkflowManagedPermission(dc_workflow.permissions)
workflow.setManagerBypass(dc_workflow.manager_bypass)
elif workflow_type_id == 'InteractionWorkflowDefinition':
if temp == 0:
new_id = 'converting_'+dc_workflow.id
......
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