mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-08 15:55:31 +01:00
Fix: remove admin.logentry perm, use admin (staff) status (#6380)
This commit is contained in:
parent
47b4a602a7
commit
f812f2af4d
15 changed files with 81 additions and 47 deletions
|
|
@ -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)),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue