From c719149b8679329c8d0ce5ed4201805b3478a6cc Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Wed, 10 Dec 2014 15:51:27 -0500 Subject: [PATCH] Make sure we can DELETE system jobs if we have the right permissions --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index 95fc634e7b..8536f1df46 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -2197,7 +2197,7 @@ class SystemJobList(ListCreateAPIView): return super(SystemJobList, self).get(request, *args, **kwargs) -class SystemJobDetail(RetrieveAPIView): +class SystemJobDetail(RetrieveDestroyAPIView): model = SystemJob serializer_class = SystemJobSerializer