Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Testing: Have you written and run sufficient tests to validate the changes?
Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
Prefix: To clearly categorize this pull request, prefix the pull request title using one of the following:
BREAKING CHANGE: Significant changes that may affect compatibility
feat: Introduces a new feature or enhancement to the codebase
Changelog Entry
Description
Adds a new permission toggle to specifically allow or disallow the creation of a custom system prompt in the user-settings modal.
This is needed because previously, the Chat Controls permission, if disallowed, also disallowed adding a custom system prompt.
With this PR, the permissions are now more nuanced and the custom system prompt can be toggled independently of the advanced chat controls.
Added
Added new permission and env var for this new permission setting.
BREAKING CHANGE: Anyone who previously relied on Allow Chat Controls permission to hide the custom system prompt in the user-settings must be aware of this change, as now they also need to disable this new permission toggle to disallow creation of custom system prompts in the user-setting modal!
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), 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/14843
**Author:** [@Classic298](https://github.com/Classic298)
**Created:** 6/10/2025
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `allow-custom-system-prompt-permission`
---
### 📝 Commits (6)
- [`181d156`](https://github.com/open-webui/open-webui/commit/181d156f56bed597f037addbe3937c3c6b032160) Feat allow custom system prompt (#8)
- [`304d3ff`](https://github.com/open-webui/open-webui/commit/304d3ffe1d86175f2701891dfbb8b2fb89a843f1) revert styling changes
- [`760c6f7`](https://github.com/open-webui/open-webui/commit/760c6f75d436c4a3aa302fe28028fef21533b95d) adjusting sidebar chat controls for custom system prompt
- [`12f25b7`](https://github.com/open-webui/open-webui/commit/12f25b7f1a1a3d81cab4d393b6f4b52842159a43) fix
- [`6325613`](https://github.com/open-webui/open-webui/commit/63256136ef8322210c01c2bb322097d1ccfb8c6f) Merge pull request #14675 from open-webui/dev
- [`d7fdcd3`](https://github.com/open-webui/open-webui/commit/d7fdcd320d3366541dc242fe32cf1174688d8230) Merge branch 'open-webui:main' into allow-custom-system-prompt-permission
### 📊 Changes
**6 files changed** (+24 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/config.py` (+5 -0)
📝 `backend/open_webui/routers/users.py` (+1 -0)
📝 `src/lib/components/admin/Users/Groups/EditGroupModal.svelte` (+2 -1)
📝 `src/lib/components/admin/Users/Groups/Permissions.svelte` (+10 -1)
📝 `src/lib/components/chat/Controls/Controls.svelte` (+5 -1)
📝 `src/lib/components/chat/Settings/General.svelte` (+1 -1)
</details>
### 📄 Description
---------
# Pull Request Checklist
### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request.
**Before submitting, make sure you've checked the following:**
- [X] **Target branch:** Please verify that the pull request targets the `dev` branch.
- [X] **Description:** Provide a concise description of the changes made in this pull request.
- [X] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [X] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources?
- https://github.com/open-webui/docs/pull/567
- [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
- [X] **Testing:** Have you written and run sufficient tests to validate the changes?
- [X] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
- [X] **Prefix:** To clearly categorize this pull request, prefix the pull request title using one of the following:
- **BREAKING CHANGE**: Significant changes that may affect compatibility
- **feat**: Introduces a new feature or enhancement to the codebase
# Changelog Entry
### Description
- Adds a new permission toggle to specifically allow or disallow the creation of a custom system prompt in the user-settings modal.
- This is needed because previously, the Chat Controls permission, if disallowed, also disallowed adding a custom system prompt.
- With this PR, the permissions are now more nuanced and the custom system prompt can be toggled independently of the advanced chat controls.

### Added
- Added new permission and env var for this new permission setting.
- https://github.com/open-webui/docs/pull/567
### Breaking Changes
- **BREAKING CHANGE**: Anyone who previously relied on `Allow Chat Controls` permission to hide the custom system prompt in the user-settings must be aware of this change, as now they also need to disable this new permission toggle to disallow creation of custom system prompts in the user-setting modal!
---
### Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/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/14843
Author: @Classic298
Created: 6/10/2025
Status: ❌ Closed
Base:
dev← Head:allow-custom-system-prompt-permission📝 Commits (6)
181d156Feat allow custom system prompt (#8)304d3ffrevert styling changes760c6f7adjusting sidebar chat controls for custom system prompt12f25b7fix6325613Merge pull request #14675 from open-webui/devd7fdcd3Merge branch 'open-webui:main' into allow-custom-system-prompt-permission📊 Changes
6 files changed (+24 additions, -4 deletions)
View changed files
📝
backend/open_webui/config.py(+5 -0)📝
backend/open_webui/routers/users.py(+1 -0)📝
src/lib/components/admin/Users/Groups/EditGroupModal.svelte(+2 -1)📝
src/lib/components/admin/Users/Groups/Permissions.svelte(+10 -1)📝
src/lib/components/chat/Controls/Controls.svelte(+5 -1)📝
src/lib/components/chat/Settings/General.svelte(+1 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Added
Breaking Changes
Allow Chat Controlspermission to hide the custom system prompt in the user-settings must be aware of this change, as now they also need to disable this new permission toggle to disallow creation of custom system prompts in the user-setting modal!Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), 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.