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

Workflow.py: fix worklist security.

parent 2d890891
......@@ -418,7 +418,7 @@ class Workflow(IdAsReferenceMixin("", "prefix"), XMLObject):
elif (not check_guard) or \
Guard_checkWithoutRoles(guard, security_manager, self, portal):
is_permitted_worklist = 1
variable_match[SECURITY_PARAMETER_ID] = guard.roles
variable_match[SECURITY_PARAMETER_ID] = worklist_definition.getRoleList()
if is_permitted_worklist:
fmt_data = TemplateDict()
......
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