Fix an issue where regular users couldn't relaunch jobs that they should

have permission to relaunch
This commit is contained in:
Matthew Jones 2015-02-11 14:40:44 -05:00
parent f4dc7a1373
commit 59d824a643

View File

@ -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