feat(groups): allow renaming a group id

Add PUT /admin/api/groups/:id/rename (owner role) which re-points the group's routes, migrates the per-group webhook secret (tenant:{id}) and pending invites, and records an audit entry. The group editor's id field is now editable and the console renames first, then persists remaining edits under the new id.
This commit is contained in:
RhenCloud committed 2026-08-13 09:58:02 +08:00
1 parent 39bb639883
commit f4959eebf8
11 files changed
+372 -53

No files matched your search

+3 -2
View File
@@ -26,10 +26,11 @@
v-model="form.id"
type="text"
:placeholder="t('groupEditor.idPlaceholder')"
:disabled="isEdit"
required
/>
<div class="hint">{{ t("groupEditor.idHint") }}</div>
<div class="hint">
{{ isEdit ? t("groupEditor.renameHint") : t("groupEditor.idHint") }}
</div>
</div>
</div>
<div class="row2">