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.
## 📋 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

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](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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.