mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-15 21:19:39 -05:00
[PR #19325] [MERGED] feat: Add default group assignment for new users #25179
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/19325
Author: @Classic298
Created: 11/20/2025
Status: ✅ Merged
Merged: 11/20/2025
Merged by: @tjbck
Base:
dev← Head:default-group-assignment📝 Commits (1)
6388555feat: Add default group assignment for new users (#94)📊 Changes
4 files changed (+40 additions, -2 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/routers/auths.py(+11 -2)📝
src/lib/components/admin/Settings/General.svelte(+21 -0)📄 Description
This feature allows administrators to configure a default group that new users are automatically added to upon registration.
This is useful for companies and setups where models are kept on private by default and those models are assigned on a group basis - this way, newly registered users can have access to a limited set of models or tools for example and can later be added to more groups.
Otherwise, model-based access based on groups is tideous and painstaking
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.