mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 00:08:44 -03:30
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