From fd461a9768f939f28e1cac75429186da4c8df1d7 Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Mon, 11 Jul 2016 15:05:35 -0400 Subject: [PATCH] Remove redundant check --- awx/main/access.py | 1 - 1 file changed, 1 deletion(-) diff --git a/awx/main/access.py b/awx/main/access.py index 38d50ba1c9..85d4a9d980 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -1373,7 +1373,6 @@ class NotificationTemplateAccess(BaseAccess): return qs return self.model.objects.filter(organization__in=Organization.accessible_objects(self.user, 'admin_role').all()) - @check_superuser def can_read(self, obj): if self.user.is_superuser or self.user.is_system_auditor: return True