From ec37703ce85ed6d0bd30b71852e30342d883b59a Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 11 Jul 2016 14:44:36 -0400 Subject: [PATCH] Allow SA's to read all notification templates --- awx/main/access.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/main/access.py b/awx/main/access.py index ae1fb20f34..38d50ba1c9 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -1375,6 +1375,8 @@ class NotificationTemplateAccess(BaseAccess): @check_superuser def can_read(self, obj): + if self.user.is_superuser or self.user.is_system_auditor: + return True if obj.organization is not None: return self.user in obj.organization.admin_role return False