mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -03:30
prevent POST on /api/v2/system_jobs/
SystemJobs should only be created by launching a SystemJobTemplate
This commit is contained in:
parent
6e6676adb3
commit
a949cc33f1
@ -3975,7 +3975,7 @@ class AdHocCommandNotificationsList(SubListAPIView):
|
||||
search_fields = ('subject', 'notification_type', 'body',)
|
||||
|
||||
|
||||
class SystemJobList(ListCreateAPIView):
|
||||
class SystemJobList(ListAPIView):
|
||||
|
||||
model = models.SystemJob
|
||||
serializer_class = serializers.SystemJobListSerializer
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user