mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
Prevent Admins from viewing uploaded user files #1930
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tkg61 on GitHub (Aug 29, 2024).
Is your feature request related to a problem? Please describe.
In this commit it was fixed so that files would remain private to their own users but it also seems like admins still can view all files (openwebui.url/api/v1/files).
i would like to request the same feature as preventing the admins from seeing user chats and have admins also not see user files.
Describe the solution you'd like
a configuration item that prevents Admins from seeing user uploaded files for privacy and insider threat reasons
e.g. ENABLE_ADMIN_FILE_ACCESS=false
Describe alternatives you've considered
N/A
Additional context
N/A
@silentoplayz commented on GitHub (Aug 29, 2024):
This has already been implemented as an environment variable
ENABLE_ADMIN_CHAT_ACCESS=false. Here is the related merged PR, for reference.As for Admins still being able to view all files uploaded (openwebui.url/api/v1/files), I'm not sure if that is considered a bug. I'll leave this issue open for hopefully another contributor to come along and provide you with a better answer.