feat: Admin option to enable/disable viewing all knowledge #4858

Closed
opened 2025-11-11 16:05:05 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @tblattner on GitHub (Apr 15, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

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)

Originally created by @tblattner on GitHub (Apr 15, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### 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: https://github.com/open-webui/open-webui/blob/07d8460126a686de9a99e2662d06106e22c3f6b6/backend/open_webui/routers/knowledge.py#L45 https://github.com/open-webui/open-webui/blob/07d8460126a686de9a99e2662d06106e22c3f6b6/backend/open_webui/routers/files.py#L169
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4858