mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #17864] [CLOSED] feat: Group cloning feature #47627
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/17864
Author: @Classic298
Created: 9/28/2025
Status: ❌ Closed
Base:
dev← Head:group-cloning-feature📝 Commits (10+)
9d9bdcdfeat: Add group cloning functionality0210c3dUpdate CloneGroupModal.svelte0026934Update Duplicate.sveltece48dcbUpdate GroupItem.svelteeffeba1Update Duplicate.svelte570c78aUpdate CloneGroupModal.sveltecbd1805Update Duplicate.svelte66e2a13Update Duplicate.svelte74c193aUpdate Duplicate.svelte3525b50Update GroupItem.svelte📊 Changes
7 files changed (+345 additions, -19 deletions)
View changed files
📝
backend/open_webui/models/groups.py(+44 -0)📝
backend/open_webui/routers/groups.py(+35 -0)📝
src/lib/apis/groups/index.ts(+31 -0)➕
src/lib/components/admin/Users/Groups/CloneGroupModal.svelte(+133 -0)📝
src/lib/components/admin/Users/Groups/GroupItem.svelte(+88 -19)➕
src/lib/components/icons/Duplicate.svelte(+13 -0)📝
src/lib/i18n/locales/en-US/translation.json(+1 -0)📄 Description
This PR introduces a new feature that allows administrators to clone user groups.
A new modal has been added to the group management interface, which allows the user to specify a name for the new group and choose whether to clone the group's members and settings.
The implementation includes:
A new backend API endpoint for cloning groups.
A new Svelte component for the cloning modal.
Updates to the group list UI to include a "Clone" option.
Internationalization for new UI strings.
Screenshots or Videos
Tested and works
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.