[PR #19325] [MERGED] feat: Add default group assignment for new users #128836

Closed
opened 2026-05-21 11:44:25 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: default-group-assignment


📝 Commits (1)

  • 6388555 feat: 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.

  • Adds a 'Default Group' dropdown in the admin settings underneath the default role setting.
  • Updates the user creation logic to assign the selected default group.
  • Includes necessary backend API and database model changes.

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/19325 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 11/20/2025 **Status:** ✅ Merged **Merged:** 11/20/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `default-group-assignment` --- ### 📝 Commits (1) - [`6388555`](https://github.com/open-webui/open-webui/commit/6388555a667a773dbab5a8cb0609b8407f1e554a) feat: Add default group assignment for new users (#94) ### 📊 Changes **4 files changed** (+40 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description This feature allows administrators to configure a default group that new users are automatically added to upon registration. - Adds a 'Default Group' dropdown in the admin settings underneath the default role setting. - Updates the user creation logic to assign the selected default group. - Includes necessary backend API and database model changes. 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)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-21 11:44:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#128836