Commit 925ed515 authored by wenjie.zheng's avatar wenjie.zheng

PermissionRoles.py: rename getRoleList to getManagedRoleList to avoid overriding.

parent 09313e4f
......@@ -68,7 +68,7 @@ class PermissionRoles(XMLObject):
# zwj: make sure here gets the right coordinates
workflow = self.getParent().getParent()
permission_list = sorted(workflow.getManagedPermissionList())
role_list = workflow.getRoleList()
role_list = workflow.getManagedRoleList()
permission = permission_list[permission_id]
role = role_list[role_id]
# zwj: check the name of the role and permission is the one we want
......
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