[PR #22474] [CLOSED] fix: remove incorrect public-read grant from note write_access check #26718

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

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/22474
Author: @gambletan
Created: 3/9/2026
Status: Closed

Base: devHead: dev


📝 Commits (1)

  • 9f1c0a9 fix: remove incorrect public-read grant from note write_access check

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 backend/open_webui/routers/notes.py (+0 -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.

The has_access function was being called on line 174 but was not imported, causing NameError for non-admin users when accessing /api/v1/tools/ endpoint.

Fixes #22393


🔄 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/22474 **Author:** [@gambletan](https://github.com/gambletan) **Created:** 3/9/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `dev` --- ### 📝 Commits (1) - [`9f1c0a9`](https://github.com/open-webui/open-webui/commit/9f1c0a92b8a8d70210c4702534aefa0f4d53efeb) fix: remove incorrect public-read grant from note write_access check ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/notes.py` (+0 -1) </details> ### 📄 Description ### Contributor License Agreement - [x] 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. The has_access function was being called on line 174 but was not imported, causing NameError for non-admin users when accessing /api/v1/tools/ endpoint. Fixes #22393 --- <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:40:12 -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#26718