mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-21 15:28:13 +00:00
Fix: remove admin.logentry perm, use admin (staff) status (#6380)
This commit is contained in:
1 parent
47b4a602a7
commit
f812f2af4d
15 files changed
+81
-47
No files matched your search
@@ -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