workflows: get list of manual actions in case of undefined roles (bis) (#43515)

This commit is contained in:
Frédéric Péters 2020-06-02 09:13:28 +02:00
parent 9f0160549c
commit ef6699be4a
1 changed files with 1 additions and 1 deletions

View File

@ -1672,7 +1672,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: