mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #13471] [CLOSED] fix: prevent showing disabled setting-tabs to user #62064
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/13471
Author: @diwakar-s-maurya
Created: 5/4/2025
Status: ❌ Closed
Base:
dev← Head:patch-1📝 Commits (1)
f9cd8fbPrevent showing disabled setting-tabs to user📊 Changes
1 file changed (+31 additions, -4 deletions)
View changed files
📝
src/lib/components/chat/SettingsModal.svelte(+31 -4)📄 Description
Fixed
If some settings are disabled, eg direct connections, direct tool servers, then they should not be visible to the user role, either directly or through searching the setting-tabs.
Screenshots
"Manage Direct Connections" is not visible to user role

But still they can search for it and see it. Same goes for "Manage Tool Servers".

Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the CONTRIBUTOR_LICENSE_AGREEMENT, and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.