From 7ba1991ca2fdf15335fc66821b39e0cbe9c9783f Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Wed, 21 Sep 2011 13:58:40 +0100 Subject: [PATCH] Show superusers the full list --- app/groups/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/groups/views.py b/app/groups/views.py index f88a5f5..e118319 100644 --- a/app/groups/views.py +++ b/app/groups/views.py @@ -48,7 +48,7 @@ def group_list(request): else: requestable = True - if not status and not requestable: + if not status and not requestable and not request.user.is_superuser: continue fixed = not group.groupinformation.type == GROUP_TYPE_PERMISSION