mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #17843] [MERGED] feat/chore: Clone default group permissions for new groups and remove redundant modal #24571
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/17843
Author: @Classic298
Created: 9/28/2025
Status: ✅ Merged
Merged: 9/28/2025
Merged by: @tjbck
Base:
dev← Head:feat/clone-default-group-permissions📝 Commits (1)
cafe748feat(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
AddGroupModaland instead using theEditGroupModalfor 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
EditGroupModalis 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.