[GH-ISSUE #8881] Hide Upload Files & Capture Buttons When Denied Through Permissions #86043

Closed
opened 2026-05-15 10:32:40 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @codefox1387 on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8881

Feature Request

Is your feature request related to a problem? Please describe.
The current user interface in Open WebUI shows a file upload button even when administrators have disabled file upload permissions. This leads to a poor user experience, as users attempt to upload files only to receive an error message stating "You do not have permission to upload files." This creates unnecessary frustration for users who are given the impression that file upload is possible when it is not.

Image

Image

Describe the solution you'd like
We propose that the file upload button in the UI should be dynamically hidden or disabled when file upload permissions are turned off by administrators. This way, users will not see or be able to interact with a feature that is not available to them, preventing confusion and frustration.

Describe alternatives you've considered

Graying out the file upload button instead of completely hiding it, with a tooltip explaining why it's unavailable.
Replacing the upload button with an informational message about file upload being disabled.
Keeping the current UI but improving the error message to explain why file upload is not permitted and how to request access if needed.

Additional context
This issue affects the user experience and perceived functionality of the Open WebUI platform. Implementing this change would align the visible UI elements with the actual permissions set by administrators, creating a more intuitive and less frustrating experience for users. It would also reduce potential support requests related to file upload issues.

Originally created by @codefox1387 on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/8881 # Feature Request **Is your feature request related to a problem? Please describe.** The current user interface in Open WebUI shows a file upload button even when administrators have disabled file upload permissions. This leads to a poor user experience, as users attempt to upload files only to receive an error message stating "You do not have permission to upload files." This creates unnecessary frustration for users who are given the impression that file upload is possible when it is not. ![Image](https://github.com/user-attachments/assets/e7a873d4-a962-4739-9feb-460c8d7f3fc4) ![Image](https://github.com/user-attachments/assets/e7ab1ec6-265a-4867-b2a9-cf6848e954ac) **Describe the solution you'd like** We propose that the file upload button in the UI should be dynamically hidden or disabled when file upload permissions are turned off by administrators. This way, users will not see or be able to interact with a feature that is not available to them, preventing confusion and frustration. **Describe alternatives you've considered** Graying out the file upload button instead of completely hiding it, with a tooltip explaining why it's unavailable. Replacing the upload button with an informational message about file upload being disabled. Keeping the current UI but improving the error message to explain why file upload is not permitted and how to request access if needed. **Additional context** This issue affects the user experience and perceived functionality of the Open WebUI platform. Implementing this change would align the visible UI elements with the actual permissions set by administrators, creating a more intuitive and less frustrating experience for users. It would also reduce potential support requests related to file upload issues.
Author
Owner

@silentoplayz commented on GitHub (Jan 24, 2025):

Good suggestion!

<!-- gh-comment-id:2613151026 --> @silentoplayz commented on GitHub (Jan 24, 2025): Good suggestion!
Author
Owner

@codefox1387 commented on GitHub (Jan 25, 2025):

Pull request sent: https://github.com/open-webui/open-webui/pull/8929

<!-- gh-comment-id:2614129713 --> @codefox1387 commented on GitHub (Jan 25, 2025): Pull request sent: https://github.com/open-webui/open-webui/pull/8929
Author
Owner

@alceausu commented on GitHub (May 28, 2025):

What about Capture Buttons?

<!-- gh-comment-id:2915596984 --> @alceausu commented on GitHub (May 28, 2025): What about Capture Buttons?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#86043