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

Transition.py: do not give Manager rights.

parent 155a517c
......@@ -101,8 +101,6 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject):
self.guard = Guard()
if self.getRoleList() is not None:
self.guard.roles = self.getRoleList()
if self.guard.roles is not None and 'Manager' not in self.guard.roles:
self.guard.roles.append('Manager')
if self.getPermissionList() is not None:
self.guard.permissions = self.getPermissionList()
if self.getGroupList() is not None:
......
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