mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #23848] feat: Create new Admin Fields to Restrict Knowledge Base File Upload Count & Size #35617
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 @chejohn on GitHub (Apr 17, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23848
Check Existing Issues
Verify Feature Scope
Problem Description
When navigating to "Admin Settings > Documents" an admin is able to limit the the number of files and file size a user is able to upload to a chat thread via the "Max Upload Size" and "Max Upload Count" fields; however, the same fields are not available for limiting the file size and number of uploads to a Knowledge Base located in Workspace > Knowledge.
Desired Solution you'd like
Our team would like two fields, potentially named "Knowledge Max Upload Size" and "Knowledge Max Upload Count", within "Admin Setting > Documents" that allows admins to limit the max upload size for a particular file into a knowledge base and a max upload count which limits the number of files a user can upload into a knowledge base.
Alternatives Considered
No response
Additional Context
No response
@pr-validator-bot commented on GitHub (Apr 17, 2026):
⚠️ Invalid Issue Title
Hey @chejohn, please provide a descriptive title for your issue. Titles that are empty, very short (under 10 characters), or generic (like "issue:" or "feat:") make it difficult for volunteer contributors to understand and triage issues.
Please update the title to reflect the content of your issue.
⚠️ Missing Issue Title Prefix
@chejohn, your issue title is missing a prefix (e.g.,
bug:,feat:,docs:).Please update your issue title to include one of the following prefixes:
Example:
bug: Login fails when using special characters in password@rbx commented on GitHub (Apr 20, 2026):
Yes, this would be very useful.
Besides limits on number of documents and their size, it would also be useful to have a list of things to ignore/not include. To be able to filter out things like
/node_modules.@rbx commented on GitHub (Apr 21, 2026):
@tjbck I could work on and contribute this feature, if desired. Already have a working prototype.
Would it be better as a global setting or a group permission?
I am leaning towards the latter, but I also see that similar chat limits are only exposed as global settings.
@rbx commented on GitHub (Apr 22, 2026):
I made a pr draft here: https://github.com/open-webui/open-webui/pull/23992
Not sure if we need a discussion post if we have this issue already...