mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #8929] [CLOSED] Update: Show/Hide File Upload Button w/Permission #37925
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/8929
Author: @codefox1387
Created: 1/25/2025
Status: ❌ Closed
Base:
dev← Head:feature/hide-file-upload-button📝 Commits (1)
c6a1b20Update InputMenu.svelte📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
src/lib/components/chat/MessageInput/InputMenu.svelte(+7 -1)📄 Description
https://github.com/open-webui/open-webui/issues/8881#issuecomment-2613151026
Changelog Entry
Description
This pull request adds show/hide functionality to the "Upload Files" button based on user permissions. This ensures that the button is only visible to users with the appropriate File Upload permissions or admin privileges.
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.