workflows: get list of manual actions in case of undefined roles (bis) (#43515)
This commit is contained in:
parent
82032a8960
commit
315a6c9bb0
|
@ -1668,7 +1668,7 @@ class WorkflowStatus(object):
|
|||
continue
|
||||
if not action.identifier:
|
||||
continue
|
||||
roles = action.by
|
||||
roles = action.by or []
|
||||
functions = [x for x in roles if x in (self.parent.roles or [])]
|
||||
roles = [x for x in roles if x not in (self.parent.roles or [])]
|
||||
if functions or roles:
|
||||
|
|
Loading…
Reference in New Issue