mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[PR #24783] refactor: remove unused GET /users/groups endpoint #115150
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/24783
Author: @Classic298
Created: 5/15/2026
Status: 🔄 Open
Base:
dev← Head:remove-unused-users-groups-endpoint📝 Commits (1)
a1674e6refactor: remove unused GET /users/groups endpoint📊 Changes
2 files changed (+0 additions, -37 deletions)
View changed files
📝
backend/open_webui/routers/users.py(+0 -10)📝
src/lib/apis/users/index.ts(+0 -27)📄 Description
The endpoint's only frontend wrapper, getUserGroups in src/lib/apis/users/index.ts, is dead: nothing imports or calls it. The only other
users/groupsreferences are SvelteKit page routes (/admin/users/groups), not this API path, and the route handler has no internal caller. Removes the route handler, its section header, and the dead wrapper. The shared Groups.get_groups_by_member_id data-layer method (used by prompt/knowledge access checks) is untouched.Contributor License Agreement
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.