Commit beb52929 authored by wenjie.zheng's avatar wenjie.zheng

Workflow.py: rename getRoleList to getManagedRoleList to avoid overriding an exist property.

parent d5e6bcdb
......@@ -257,7 +257,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
del self.erp5_permission_roles[permission_roles]
return changed
def getRoleList(self):
def getManagedRoleList(self):
return sorted(self.getPortalObject().getDefaultModule('acl_users').valid_roles())
security.declarePrivate('doActionFor')
......
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