mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 03:18:21 -05:00
feat: Admin option to enable/disable viewing all knowledge #4858
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 @tblattner on GitHub (Apr 15, 2025).
Check Existing Issues
Problem Description
As an admin for the service, I can view knowledge created by all users. This is in both the workspace viewer as well as when using "#" in chat. This clutters the view, especially when trying to interact with my own knowledge bases.
Desired Solution you'd like
I'd like to have an option to enable/disable viewing other users, only limiting what I've been granted access. This way if I need to access another user's knowledge base I can switch the flag to enable viewing across all users. By disabling this option it would restrict access based on my permissions granted by other users/groups or my own knowledge bases I'm managing.
Alternatives Considered
No response
Additional Context
Twoof the relevant lines:
07d8460126/backend/open_webui/routers/knowledge.py (L45)07d8460126/backend/open_webui/routers/files.py (L169)