mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
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