I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
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:
Have a user in a group.
Have an admin delete the user.
Check the group's user count, see it still includes the user.
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:
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
- **Open WebUI Version:** 0.5.4
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## 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:**
1. Have a user in a group.
2. Have an admin delete the user.
3. Check the group's user count, see it still includes the user.
## 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):**
1. A user in the group:
<img width="661" alt="Screenshot 2025-01-07 at 12 55 44 PM" src="https://github.com/user-attachments/assets/5aad5cab-dfbe-44eb-952e-5c9b27685b2a" />
2. Delete the user
3. Look at the group, mismatched user count:
<img width="662" alt="Screenshot 2025-01-07 at 12 57 07 PM" src="https://github.com/user-attachments/assets/84de8167-b838-475f-b02c-dac1b866a23e" />
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!
<!-- gh-comment-id:2576516018 -->
@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!
I can confirm (3 days later, my apologies) that this issue has been solved!
<!-- gh-comment-id:2613133576 -->
@silentoplayz commented on GitHub (Jan 24, 2025):
> Good catch, should be addressed in dev!
I can confirm (3 days later, my apologies) that this issue has been solved!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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!