mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 19:21:06 -03: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)
|
||||
|
||||
|
||||
class SystemJobDetail(RetrieveAPIView):
|
||||
class SystemJobDetail(RetrieveDestroyAPIView):
|
||||
|
||||
model = SystemJob
|
||||
serializer_class = SystemJobSerializer
|
||||
|
||||
Reference in New Issue
Block a user