mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 02:17:37 -02:30
Make sure we can DELETE system jobs if we have the right permissions
This commit is contained in:
@@ -2197,7 +2197,7 @@ class SystemJobList(ListCreateAPIView):
|
|||||||
return super(SystemJobList, self).get(request, *args, **kwargs)
|
return super(SystemJobList, self).get(request, *args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class SystemJobDetail(RetrieveAPIView):
|
class SystemJobDetail(RetrieveDestroyAPIView):
|
||||||
|
|
||||||
model = SystemJob
|
model = SystemJob
|
||||||
serializer_class = SystemJobSerializer
|
serializer_class = SystemJobSerializer
|
||||||
|
|||||||
Reference in New Issue
Block a user