[PR #13471] [CLOSED] fix: prevent showing disabled setting-tabs to user #23208

Closed
opened 2026-04-20 04:41:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: patch-1


📝 Commits (1)

  • f9cd8fb Prevent 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
image

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

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/13471 **Author:** [@diwakar-s-maurya](https://github.com/diwakar-s-maurya) **Created:** 5/4/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`f9cd8fb`](https://github.com/open-webui/open-webui/commit/f9cd8fb5e7ed4f8f763699bd21a42364841dbd59) Prevent showing disabled setting-tabs to user ### 📊 Changes **1 file changed** (+31 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/SettingsModal.svelte` (+31 -4) </details> ### 📄 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 ![image](https://github.com/user-attachments/assets/a2acff88-e35e-4506-a129-94c9e10098de) But still they can search for it and see it. Same goes for "Manage Tool Servers". ![Screenshot_20250504_110122](https://github.com/user-attachments/assets/c60a0c90-06ad-495d-8820-bd1250bd0928) ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [CONTRIBUTOR_LICENSE_AGREEMENT](CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 04:41:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#23208