mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -03:30
Merge pull request #3649 from AlanCoding/WJ_license
extend license fix to workflow jobs
This commit is contained in:
@@ -1527,7 +1527,7 @@ class WorkflowJobAccess(BaseAccess):
|
||||
return self.user in obj.workflow_job_template.admin_role
|
||||
|
||||
# TODO: add support for relaunching workflow jobs
|
||||
def can_start(self, obj):
|
||||
def can_start(self, obj, validate_license=True):
|
||||
return False
|
||||
|
||||
def can_cancel(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user