mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #8386] issue: Deleting a user does not remove them from their groups #134831
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?
Originally created by @tarmst on GitHub (Jan 7, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8386
Originally assigned to: @tjbck on GitHub.
Bug Report
Installation Method
git clone & Docker build from dev branch.
Environment
Confirmation:
Expected Behavior:
Upon deletion of a user, they should be removed from all groups they were in.
Actual Behavior:
Upon deletion of a user, the groups are not updated, leading to a mismatched user count in the group.
Description
Bug Summary:
Deleting a user does not remove them from the groups they were in.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots/Screen Recordings (if applicable):
A user in the group:

Delete the user
Look at the group, mismatched user count:

@silentoplayz commented on GitHub (Jan 8, 2025):
I have tested this out on my end based on the report and can confirm that this issue is present on the latest dev branch. Good catch!
@tjbck commented on GitHub (Jan 21, 2025):
Good catch, should be addressed in dev!
@silentoplayz commented on GitHub (Jan 24, 2025):
I can confirm (3 days later, my apologies) that this issue has been solved!