mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-03 14:41:49 -05:00
Merge pull request #3080 from chrismeyersfsu/fix-superuser_license_host_add
check license permission on host create
This commit is contained in:
@@ -1573,6 +1573,7 @@ class InventoryScanJobTemplateList(SubListAPIView):
|
||||
|
||||
class HostList(ListCreateAPIView):
|
||||
|
||||
always_allow_superuser = False
|
||||
model = Host
|
||||
serializer_class = HostSerializer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user