mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-24 03:18:21 -05:00
[PR #17842] [CLOSED] feat: Add default group assignment for new users #63426
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/17842
Author: @Classic298
Created: 9/28/2025
Status: ❌ Closed
Base:
dev← Head:feature/default-group-assignment📝 Commits (10+)
ba07f8efeat: Add default group assignment for new users387aea3Update auths.py28f79ceUpdate auths.pyccba90bUpdate config.pybd11281Update auths.py0cba578Update main.pye05dd74Update auths.pye63892aUpdate auths.py1fa2baaUpdate auths.py5acd805Update main.py📊 Changes
5 files changed (+65 additions, -2 deletions)
View changed files
📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/models/groups.py(+25 -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.