mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-10 21:54:41 -05:00
issue: When "Knowledge" is disabled for users, it is still possible to add "Knowledge" to chat Folders #6158
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 @jsweetzer-ea on GitHub (Aug 21, 2025).
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.6.22
Ollama Version (if applicable)
No response
Operating System
AWS Ubuntu
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When Default Permissions has Knowledge Access toggled off, no access to Knowledge or adjacent functionality should be permitted
This is incompatible with the UI approach taken in Folders for System Prompt - when chat settings are turned off for users, the related System prompt option is not available in Folders
Actual Behavior
It is still possible to "Add Knowledge" to a chat folder and add files to Folders in the same manner as creating a Knowlegde collection
Steps to Reproduce
Disable Knowledge Access in Admin Settings / Users/ Default Permissions
Login as regular user
Open Chat (+) Folder modal
See Knowledge related UI elements
Logs & Screenshots
Admin:
User:
Additional Information
No response
@tjbck commented on GitHub (Aug 22, 2025):
Intended behaviour, those mean write access.
@jsweetzer-ea commented on GitHub (Aug 22, 2025):
I see - but that is also at odds with how the Workspace treats retrieval of otherwise public KBs as mentioned before. Why not simply list them in the Workspace page, if they're interactable elsewhere?
this PR would fix the discrepancy
https://github.com/open-webui/open-webui/pull/15797