From 4cf7344dc4d07dada242f5fb34bb6ec342003193 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Thu, 21 Jul 2016 16:53:25 -0400 Subject: [PATCH] check license permission on host create --- awx/api/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/api/views.py b/awx/api/views.py index 11ae8f6766..7d1a855ed7 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -1573,6 +1573,7 @@ class InventoryScanJobTemplateList(SubListAPIView): class HostList(ListCreateAPIView): + always_allow_superuser = False model = Host serializer_class = HostSerializer