Frontend: Duplicate role (row + detail kebab) + toast

Abierto
#583 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
67/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
frontend

Línea de trabajo

Start by locating the Roles and Permissions table row kebab and the role-detail header kebab, then trace how those menus call role actions and show toasts. Add the duplicate action to both menus and connect it to the duplicate endpoint. Done means either source role type can be duplicated with one click, success and failure toasts appear as specified, and navigation happens only when the toast button is selected.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

willow

Add "Duplicate" to the Roles and Permissions row kebab and the role-detail header kebab. Duplicate is immediate and fire-and-forget (per design): clicking it calls the duplicate endpoint directly — no dialog or wizard — and shows a success toast "Role duplicated successfully. You can view it in the Roles & Permissions table." with a "Go to Roles and permissions" button that navigates to the table.

Acceptance
  • Duplicate available from both kebab menus (for standard and custom source roles).
  • One click calls the duplicate endpoint with no intermediate form.
  • Success toast with the "Go to Roles and permissions" action; error toast on failure.
  • No navigation away on its own (user chooses via the toast button).

Design: https://www.figma.com/design/xnmQJq1cTRVqNrs31R8zDM/AuthZ---v2?node-id=40000174-2&p=f&t=AfaPxKGH7lD48V93-0

Lenguaje dominante
Python
Estrellas
0
Forks
10
Merge medio
5 d 12 h
PR fusionados (30 d)
23

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de openedx/openedx-authz

Todos los issues de openedx/openedx-authz

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.