From 59d824a6433e555428c0a7537a406b3da275b3a6 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Wed, 11 Feb 2015 14:40:44 -0500 Subject: [PATCH] Fix an issue where regular users couldn't relaunch jobs that they should have permission to relaunch --- awx/api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/api/views.py b/awx/api/views.py index 4d3c07d228..e5a1ac270a 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -1832,6 +1832,7 @@ class JobCancel(RetrieveAPIView): class JobRelaunch(GenericAPIView): model = Job + is_job_start = True # FIXME: Add serializer class to define fields in OPTIONS request! @csrf_exempt