Commit 9499d8bf authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

WorkflowTool.py: sort the permission list before converting the permission_role cell.

parent f6add244
......@@ -360,7 +360,7 @@ class WorkflowTool(BaseTool, OriginalWorkflowTool):
state.setStatePermissionRoles(permission_roles)
LOG("permission_roles is '%s'"%permission_roles,WARNING,"in WorkflowTool.py")
i = -1
for permission in workflow.getWorkflowManagedPermissionList():
for permission in sorted(workflow.getWorkflowManagedPermissionList()):
i = i + 1
j = -1
for role in workflow.getRoleList():
......
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