From 697f97972f423a16db1946e6aad8dd6174f6cdca Mon Sep 17 00:00:00 2001 From: Wayne Witzel III Date: Fri, 22 Apr 2016 15:51:18 -0400 Subject: [PATCH] Host is not a Resource, access is granted indirectly through Inventory --- awx/main/models/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/inventory.py b/awx/main/models/inventory.py index ac9a8840cf..0eaf35c471 100644 --- a/awx/main/models/inventory.py +++ b/awx/main/models/inventory.py @@ -321,7 +321,7 @@ class Inventory(CommonModel, ResourceMixin): return self.groups.exclude(parents__pk__in=group_pks).distinct() -class Host(CommonModelNameNotUnique, ResourceMixin): +class Host(CommonModelNameNotUnique): ''' A managed node '''