mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-26 18:53:35 -05:00
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