mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
issue: Groups UI screen does not show users or allow you to add users and user added to group can no longer login #4486
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 @nick-tgcs on GitHub (Mar 19, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.5.20
Ollama Version (if applicable)
No response
Operating System
macOS, docker install
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
If you add a user into a group via API, they should show in the the 'Admin Settings -> Groups -> Users' screen. You should also have the ability to add users via the UI.
Also, adding the user to a group should not cause the user to no longer be able to authenticate if the group does not have any specific permissions.
Actual Behavior
The user tab in the group shows '(1)' but no user can be seen in the UI.
Also, the user can no longer login to webui if the group has no permissions. This is due to the backend/open_webui/utils/access_control.py function 'combine_permissions'.
Steps to Reproduce
Add user to a group using the API.
Try and login with user added -> Fails.
View 'groups' with another user, -> Login ok, but user added does not show.
Logs & Screenshots
Fix for login issue is:
Let me know if you want a PR, can also look into the group display thing if you would like.
Additional Information
Happy to fix and put up a PR.
@tjbck commented on GitHub (Mar 19, 2025):
API usage isn't supported but would be happy to see a PR in this regard.