mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Show superusers the full list
This commit is contained in:
@@ -48,7 +48,7 @@ def group_list(request):
|
|||||||
else:
|
else:
|
||||||
requestable = True
|
requestable = True
|
||||||
|
|
||||||
if not status and not requestable:
|
if not status and not requestable and not request.user.is_superuser:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
fixed = not group.groupinformation.type == GROUP_TYPE_PERMISSION
|
fixed = not group.groupinformation.type == GROUP_TYPE_PERMISSION
|
||||||
|
|||||||
Reference in New Issue
Block a user