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.
Note
Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.
🔄 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/20368
**Author:** [@Classic298](https://github.com/Classic298)
**Created:** 1/4/2026
**Status:** ✅ Merged
**Merged:** 1/5/2026
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `dev` ← **Head:** `feat/prompts-read-only-access`
---
### 📝 Commits (5)
- [`ac65e5b`](https://github.com/open-webui/open-webui/commit/ac65e5b480c1c0656a457a7f7f83270bfe95d302) feat: Add read-only access support for Prompts
- [`b0a28b3`](https://github.com/open-webui/open-webui/commit/b0a28b32457a660c2048ac1a1b3a5315f46bc7db) feat: Add read-only visual indicators for Prompts workspace
- [`5623ee1`](https://github.com/open-webui/open-webui/commit/5623ee12721f0b7c82eac94a9a3dccc09d8e7499) fix: Return write_access from getPromptByCommand endpoint
- [`59049e5`](https://github.com/open-webui/open-webui/commit/59049e577219c1fdc9167a7765ed2f8c00473013) fix: Align Read Only badge to right in Prompts.svelte
- [`348c0fd`](https://github.com/open-webui/open-webui/commit/348c0fde7f713567dc4eb16a7809e5bd74efaa62) fix: Use PromptAccessResponse in get_prompt_by_command endpoint
### 📊 Changes
**5 files changed** (+86 additions, -46 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/models/prompts.py` (+4 -0)
📝 `backend/open_webui/routers/prompts.py` (+23 -10)
📝 `src/lib/components/workspace/Prompts.svelte` (+10 -4)
📝 `src/lib/components/workspace/Prompts/PromptEditor.svelte` (+45 -31)
📝 `src/routes/(app)/workspace/prompts/edit/+page.svelte` (+4 -1)
</details>
### 📄 Description
### Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms.
> [!NOTE]
> Deleting the CLA section will lead to immediate closure of your PR and it will not be merged in.
---
<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/20368
Author: @Classic298
Created: 1/4/2026
Status: ✅ Merged
Merged: 1/5/2026
Merged by: @tjbck
Base:
dev← Head:feat/prompts-read-only-access📝 Commits (5)
ac65e5bfeat: Add read-only access support for Promptsb0a28b3feat: Add read-only visual indicators for Prompts workspace5623ee1fix: Return write_access from getPromptByCommand endpoint59049e5fix: Align Read Only badge to right in Prompts.svelte348c0fdfix: Use PromptAccessResponse in get_prompt_by_command endpoint📊 Changes
5 files changed (+86 additions, -46 deletions)
View changed files
📝
backend/open_webui/models/prompts.py(+4 -0)📝
backend/open_webui/routers/prompts.py(+23 -10)📝
src/lib/components/workspace/Prompts.svelte(+10 -4)📝
src/lib/components/workspace/Prompts/PromptEditor.svelte(+45 -31)📝
src/routes/(app)/workspace/prompts/edit/+page.svelte(+4 -1)📄 Description
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.