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.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/17864
**Author:** [@Classic298](https://github.com/Classic298)
**Created:** 9/28/2025
**Status:** 🔄 Open
**Base:** `dev` ← **Head:** `group-cloning-feature`
---
### 📝 Commits (10+)
- [`9d9bdcd`](https://github.com/open-webui/open-webui/commit/9d9bdcd54b7277bc20d6c908eafae99bad4cf71f) feat: Add group cloning functionality
- [`0210c3d`](https://github.com/open-webui/open-webui/commit/0210c3d25ff0aa4d7d52b80e685546595ab01dc5) Update CloneGroupModal.svelte
- [`0026934`](https://github.com/open-webui/open-webui/commit/0026934d46b00a093faa5d6f634ee970726574c6) Update Duplicate.svelte
- [`ce48dcb`](https://github.com/open-webui/open-webui/commit/ce48dcb0ce4ee7d6b404368bd6a32860e3143962) Update GroupItem.svelte
- [`effeba1`](https://github.com/open-webui/open-webui/commit/effeba1cd3337a300849bf323b3317db32ebad64) Update Duplicate.svelte
- [`570c78a`](https://github.com/open-webui/open-webui/commit/570c78adaa6e4bf4e90b1e81d45b32d6c128b159) Update CloneGroupModal.svelte
- [`cbd1805`](https://github.com/open-webui/open-webui/commit/cbd1805d3dedff63b0d0a20693c7520f2392b9b7) Update Duplicate.svelte
- [`66e2a13`](https://github.com/open-webui/open-webui/commit/66e2a139e7e3646d76d7b930aa9e292d0f50a261) Update Duplicate.svelte
- [`74c193a`](https://github.com/open-webui/open-webui/commit/74c193a42230fb60c9091e70e27ab9cf564ad412) Update Duplicate.svelte
- [`3525b50`](https://github.com/open-webui/open-webui/commit/3525b5000d44c39b75ca23686be57de7c576bec8) Update GroupItem.svelte
### 📊 Changes
**7 files changed** (+345 additions, -19 deletions)
<details>
<summary>View changed files</summary>
📝 `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)
</details>
### 📄 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
<img width="1556" height="335" alt="image" src="https://github.com/user-attachments/assets/c0605b8d-243b-4f92-96b8-ec6c5dd067b7" />
<img width="775" height="350" alt="image" src="https://github.com/user-attachments/assets/1dd5b3fa-9536-4b47-85f4-6552ea036365" />
<img width="903" height="401" alt="image" src="https://github.com/user-attachments/assets/e5f04e81-7a65-4a23-8d18-12630b644cde" />
<img width="781" height="386" alt="image" src="https://github.com/user-attachments/assets/dbcaf56b-5c76-4ca4-8ef1-ee331cd85c3c" />
<img width="1547" height="280" alt="image" src="https://github.com/user-attachments/assets/d8b2be8a-8c5a-48ff-9076-2fd2b70d37b5" />
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)](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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/17864
Author: @Classic298
Created: 9/28/2025
Status: 🔄 Open
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.