mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-08-12 00:19:48 +00:00
Fix: remove admin.logentry perm, use admin (staff) status (#6380)
This commit is contained in:
@@ -1270,6 +1270,7 @@ class UiSettingsView(GenericAPIView):
|
||||
user_resp = {
|
||||
"id": user.id,
|
||||
"username": user.username,
|
||||
"is_staff": user.is_staff,
|
||||
"is_superuser": user.is_superuser,
|
||||
"groups": list(user.groups.values_list("id", flat=True)),
|
||||
}
|
||||
|
Reference in New Issue
Block a user