You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Frontend: Duplicate role (row + detail kebab) opens create wizard in clone mode #583
Add "Duplicate" to the Roles and Permissions row kebab and the role-detail header kebab. Duplicate opens the create wizard (#571) with "Clone from role" selected and the source role preselected. The administrator enters a name, can change the permissions on page 2 (#572), and saves with the normal create call (#573).
There is no duplicate endpoint. Copying is a normal create request built from the source role in the catalog (ADR 0036, section 6). The name is required because the role ID is derived from it and never changes (ADR 0035).
Acceptance
Duplicate available from both kebab menus, for static and custom source roles.
Duplicate opens the create wizard in clone mode with the source role preselected; its resource type and permissions seed page 2.
The name field starts empty and is required; no "(copy)" name is generated.
Under discussion: the draft Custom Roles API ADR for #469 (ADR 0036, not merged yet) proposes changes that affect this ticket. Nothing is final until the ADR is approved.
Proposed change: Duplicate is not one click. The Duplicate item in the row menu and the role-detail menu opens the create wizard (#571) with "Clone from role" selected and the source role preselected. The administrator enters a name, can change the permissions on page 2, and saves with the normal create call (#573). The success toast and redirect follow create.
Reason: a required name gives the role a meaningful ID. Role IDs are derived from the name and never change (ADR 0035), so auto-generated "(copy)" names would leave copied roles with IDs that don't describe them.
changed the title [-]Frontend: Duplicate role (row + detail kebab) + toast[/-][+]Frontend: Duplicate role (row + detail kebab) opens create wizard in clone mode[/+]on Dec 3, 2026
Activity
rodmgwgu commentedon Nov 5, 2026
Under discussion: the draft Custom Roles API ADR for #469 (ADR 0036, not merged yet) proposes changes that affect this ticket. Nothing is final until the ADR is approved.
Proposed change: Duplicate is not one click. The Duplicate item in the row menu and the role-detail menu opens the create wizard (#571) with "Clone from role" selected and the source role preselected. The administrator enters a name, can change the permissions on page 2, and saves with the normal create call (#573). The success toast and redirect follow create.
Reason: a required name gives the role a meaningful ID. Role IDs are derived from the name and never change (ADR 0035), so auto-generated "(copy)" names would leave copied roles with IDs that don't describe them.
[-]Frontend: Duplicate role (row + detail kebab) + toast[/-][+]Frontend: Duplicate role (row + detail kebab) opens create wizard in clone mode[/+]