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

Transition.py: fix transition guard generation and update function.

parent 7fa633de
......@@ -99,7 +99,6 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject):
roles=self.getRoleList(),
groups=self.getGroupList(),
expr=self.getExpression())
else:
if self.guard.roles != self.getRoleList():
self.guard.roles = self.getRoleList()
if self.guard.permissions != self.getPermissionList():
......
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