From e41f20320a7c13d5d5c75c8f86e5e29b2761832f Mon Sep 17 00:00:00 2001 From: Sarabraj Singh Date: Fri, 21 Oct 2022 09:28:40 -0400 Subject: [PATCH] removed hostname check when editing hostname on existing host (#13057) --- awx/main/access.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/awx/main/access.py b/awx/main/access.py index 665c8e1f8d..fed80f87f8 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -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