mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[PR #16044] [CLOSED] FIX: User WorkSpace Create Tool Error #62870
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/16044
Author: @rgaricano
Created: 7/26/2025
Status: ❌ Closed
Base:
dev← Head:dev-FIX_UsersToolsCreate📝 Commits (2)
ed6d77bFIX: User WorkSpace Create Tool Error3b72640FIX: User WorkSpace Create Tool Error📊 Changes
2 files changed (+2 additions, -2 deletions)
View changed files
📝
backend/open_webui/routers/utils.py(+1 -1)📝
src/lib/components/common/CodeEditor.svelte(+1 -1)📄 Description
Description
FIX: User WorkSpace Create Tool Error
Changed
backend/open_webui/routers/utils.py
Permission changed to allow verified users to format code; there are more specific permission checks later, in formatPythonCodeHandler.
src/lib/components/common/CodeEditor.svelte
Added permission for the user with code_interpreter permission.
The tools permission could also be used, but I assume the code_interpreter permission is more appropriate for that role; if the user doesn't have code_interpreter permission, they shouldn't have to format the code either.
However, I'm not sure; both permissions could also be used.
Security
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.