mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
removed hostname check when editing hostname on existing host (#13057)
This commit is contained in:
parent
192f45bbd0
commit
e41f20320a
@ -993,9 +993,6 @@ class HostAccess(BaseAccess):
|
||||
if data and 'name' in data:
|
||||
self.check_license(add_host_name=data['name'])
|
||||
|
||||
# Check the per-org limit
|
||||
self.check_org_host_limit({'inventory': obj.inventory}, add_host_name=data['name'])
|
||||
|
||||
# Checks for admin or change permission on inventory, controls whether
|
||||
# the user can edit variable data.
|
||||
return obj and self.user in obj.inventory.admin_role
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user