[GH-ISSUE #8386] issue: Deleting a user does not remove them from their groups #69708

Closed
opened 2026-05-13 02:00:26 -05:00 by GiteaMirror · 3 comments
Owner

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:

  • 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:

  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:
    Screenshot 2025-01-07 at 12 55 44 PM

  2. Delete the user

  3. Look at the group, mismatched user count:
    Screenshot 2025-01-07 at 12 57 07 PM

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" />
Author
Owner

@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!

<!-- 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!
Author
Owner

@tjbck commented on GitHub (Jan 21, 2025):

Good catch, should be addressed in dev!

<!-- gh-comment-id:2603847781 --> @tjbck commented on GitHub (Jan 21, 2025): Good catch, should be addressed in dev!
Author
Owner

@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!

<!-- 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#69708