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 82032a8960
commit 315a6c9bb0
1 changed files with 1 additions and 1 deletions

View File

@ -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: