[PR #20368] [MERGED] feat: Prompts Atomic PR of #20243 #25582

Closed
opened 2026-04-20 06:00:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: feat/prompts-read-only-access


📝 Commits (5)

  • ac65e5b feat: Add read-only access support for Prompts
  • b0a28b3 feat: Add read-only visual indicators for Prompts workspace
  • 5623ee1 fix: Return write_access from getPromptByCommand endpoint
  • 59049e5 fix: Align Read Only badge to right in Prompts.svelte
  • 348c0fd fix: 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.

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>
GiteaMirror added the pull-request label 2026-04-20 06:00:46 -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#25582