mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #4809] FEAT: Document Groups for Enhanced Access Control #29268
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 @RobinBially on GitHub (Aug 22, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4809
Is your feature request related to a problem? Please describe.
Our chat tool is used by various clients, and currently, there is no way to restrict access to confidential documents between different clients. However, documents within a company should be accessible to all employees of that company. This lack of access control can lead to potential security issues and unauthorized access to sensitive information.
Describe the solution you’d like
I propose the implementation of “Document Groups” within the Workspace area. This would involve adding a new tab for Document Groups, where each group can have a list of documents and collections, as well as a list of users assigned to it. This feature should function similarly to the existing “Models” feature. If a user with the “User” role is not assigned to any Document Group, they should not be able to select any documents in the chat. A user can also be assigned to multiple Document Groups, in which case they would have access to the union of all documents within those groups.
Describe alternatives you’ve considered
An alternative solution could be to implement individual document permissions, where each document’s access is controlled on a per-user basis. However, this approach could become cumbersome to manage, especially for larger teams or companies with a significant number of documents.
I am willing to implement this feature and would like to gather feedback from the developers to ensure it aligns with the overall vision and architecture of the tool.
@tjbck commented on GitHub (Aug 22, 2024):
#2924