mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Fix error related to workflow_approval_templates/N endpoint
This commit is contained in:
parent
4a801c60b9
commit
24c5404c25
@ -2787,6 +2787,9 @@ class WorkflowApprovalAccess(BaseAccess):
|
||||
def can_use(self, obj):
|
||||
return True
|
||||
|
||||
def can_start(self, obj, validate_license=True):
|
||||
return True
|
||||
|
||||
def filtered_queryset(self):
|
||||
return self.model.objects.filter(
|
||||
unified_job_node__in=WorkflowJobNode.accessible_pk_qs(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user