From d3e656da573cdc45899bd76ed5a35b9446ad3234 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Mon, 30 Jan 2017 19:18:14 -0500 Subject: [PATCH] follow validate_license pattern w sys jobs --- awx/main/access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/access.py b/awx/main/access.py index 7bef51a20f..06efdc4868 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -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