mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-30 20:01:48 -05:00
fix bug checking WFJT node for prompted resources
This commit is contained in:
committed by
Matthew Jones
parent
5efa50788f
commit
3abbe87e10
@@ -1605,9 +1605,9 @@ class WorkflowJobTemplateNodeAccess(BaseAccess):
|
||||
if 'credential' in data or 'inventory' in data:
|
||||
new_data = data
|
||||
if 'credential' not in data:
|
||||
new_data['credential'] = self.credential
|
||||
new_data['credential'] = obj.credential
|
||||
if 'inventory' not in data:
|
||||
new_data['inventory'] = self.inventory
|
||||
new_data['inventory'] = obj.inventory
|
||||
return self.can_use_prompted_resources(new_data)
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user