mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 06:42:16 +00:00
Show superusers the full list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user