0001-workflows-get-list-of-manual-actions-in-case-of-unde.patch
wcs/workflows.py | ||
---|---|---|
1673 | 1673 |
if not action.identifier: |
1674 | 1674 |
continue |
1675 | 1675 |
roles = action.by |
1676 |
functions = [x for x in roles if x in self.parent.roles]
|
|
1677 |
roles = [x for x in roles if x not in self.parent.roles]
|
|
1676 |
functions = [x for x in roles if x in (self.parent.roles or [])]
|
|
1677 |
roles = [x for x in roles if x not in (self.parent.roles or [])]
|
|
1678 | 1678 |
if functions or roles: |
1679 | 1679 |
actions.append({'action': StatusAction(action), 'roles': roles, 'functions': functions}) |
1680 | 1680 |
return actions |
1681 |
- |