From 15f06ec9d3e756595a4164acac93ae62d6fd02d2 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Tue, 12 Jul 2016 15:03:33 -0400 Subject: [PATCH] allow system auditors to see orphan inventory scripts --- awx/main/access.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/awx/main/access.py b/awx/main/access.py index 40eb3db2e1..27f7c80cda 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -1573,10 +1573,6 @@ class CustomInventoryScriptAccess(BaseAccess): def can_delete(self, obj): return self.can_admin(obj) - @check_superuser - def can_read(self, obj): - return self.user in obj.read_role - class TowerSettingsAccess(BaseAccess): '''