diff --git a/awx/main/access.py b/awx/main/access.py index b4abf9825d..8cf71f9f88 100644 --- a/awx/main/access.py +++ b/awx/main/access.py @@ -255,6 +255,8 @@ class UserAccess(BaseAccess): if obj.is_superuser and super_users.count() == 1: # cannot delete the last active superuser return False + if self.user.is_superuser: + return True return obj.accessible_by(self.user, {'delete': True})