1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 23:51:09 +03:00

Merge pull request #2945 from AlanCoding/2944_inv_script_orphan_sys_aud

Allow system auditors to see orphan inventory scripts
This commit is contained in:
Alan Rominger 2016-07-12 16:46:29 -04:00 committed by GitHub
commit 7a08f37132

View File

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