[PR #17843] [MERGED] feat/chore: Clone default group permissions for new groups and remove redundant modal #24571

Closed
opened 2026-04-20 05:28:10 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/17843
Author: @Classic298
Created: 9/28/2025
Status: Merged
Merged: 9/28/2025
Merged by: @tjbck

Base: devHead: feat/clone-default-group-permissions


📝 Commits (1)

  • cafe748 feat(groups): Clone default group permissions for new groups

📊 Changes

2 files changed (+12 additions, -123 deletions)

View changed files

📝 src/lib/components/admin/Users/Groups.svelte (+12 -7)
src/lib/components/admin/Users/Groups/AddGroupModal.svelte (+0 -116)

📄 Description

FEAT: When creating a new user group, the permissions for the new group will now be pre-populated with the same permissions as the "default user group".

This is achieved by removing the separate AddGroupModal and instead using the EditGroupModal for both creating and editing groups.

CHORE: Both modals were extremely similar anyways - this PR removes the redundant AddGroupModal and instead uses the EditGroupModal for all actions going forward

When creating a new group, the EditGroupModal is now pre-populated with the default permissions, saving administrators from having to manually configure them each time.

This change simplifies the codebase by removing a redundant component and directly addresses the user's request to streamline the group creation process.

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/17843 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 9/28/2025 **Status:** ✅ Merged **Merged:** 9/28/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/clone-default-group-permissions` --- ### 📝 Commits (1) - [`cafe748`](https://github.com/open-webui/open-webui/commit/cafe748b1b932a85773c5a2507cd5de7228202ac) feat(groups): Clone default group permissions for new groups ### 📊 Changes **2 files changed** (+12 additions, -123 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/admin/Users/Groups.svelte` (+12 -7) ➖ `src/lib/components/admin/Users/Groups/AddGroupModal.svelte` (+0 -116) </details> ### 📄 Description FEAT: When creating a new user group, the permissions for the new group will now be pre-populated with the same permissions as the "default user group". This is achieved by removing the separate `AddGroupModal` and instead using the `EditGroupModal` for both creating and editing groups. CHORE: **Both modals were extremely similar anyways - this PR removes the redundant AddGroupModal and instead uses the EditGroupModal for all actions going forward** When creating a new group, the `EditGroupModal` is now pre-populated with the default permissions, saving administrators from having to manually configure them each time. This change **simplifies the codebase** by removing a redundant component and directly addresses the user's request to streamline the group creation process. ### 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-04-20 05:28:10 -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#24571