mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-22 16:53:35 -05:00
prevent POST on /api/v2/system_jobs/
SystemJobs should only be created by launching a SystemJobTemplate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user