mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #8371] [MERGED] fix: Fix admins added to groups from oauth group management #22210
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/8371
Author: @tarmst
Created: 1/6/2025
Status: ✅ Merged
Merged: 1/6/2025
Merged by: @tjbck
Base:
dev← Head:fix-admins-added-to-groups-from-oauth-group-mgmt📝 Commits (1)
8117bf8Add admin check📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/open_webui/utils/oauth.py(+1 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
No discussion post, saw this bug in my own testing
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Admins logging in to an Open WebUI instance with Oauth group management would be added to groups previously. This led to issues where group member counts and members listed would misalign, as admins do not show on these lists - they don't need to be added to any groups as they see them all.
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.