Host is not a Resource, access is granted indirectly through Inventory

This commit is contained in:
Wayne Witzel III 2016-04-22 15:51:18 -04:00
parent 9ac8ee3ef0
commit 697f97972f

View File

@ -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
'''