mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
follow validate_license pattern w sys jobs
This commit is contained in:
parent
5362ee049b
commit
d3e656da57
@ -1357,7 +1357,7 @@ class SystemJobTemplateAccess(BaseAccess):
|
||||
model = SystemJobTemplate
|
||||
|
||||
@check_superuser
|
||||
def can_start(self, obj):
|
||||
def can_start(self, obj, validate_license=True):
|
||||
'''Only a superuser can start a job from a SystemJobTemplate'''
|
||||
return False
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user