Commit 76dd0a7f authored by wenjie.zheng's avatar wenjie.zheng

Transition.py: temporary allow anonymous users to execute workflowmethods.

parent 8f54d3df
......@@ -92,7 +92,7 @@ class Transition(IdAsReferenceMixin("transition_", "prefix"), XMLObject):
if not self.guard.roles or self.guard.roles == []:
reasonable_roles = self.getParent().getManagedRoleList()
# Make sure we do not give rights to anonymous users when no guard is defined
reasonable_roles.remove('Anonymous')
#reasonable_roles.remove('Anonymous')
self.guard.roles = reasonable_roles
return self.guard
......
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