Frontend: Delete confirmation + reassign-before-delete modals
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- authorization, frontend
Direzione di ricerca
Start at the frontend role deletion flow and its existing confirmation modal, then trace how assigned-member counts and role reassignment are handled. Check the relevant modal and mutation tests first; done means both steps match the acceptance criteria, including gating submission, then reassigning before deletion, showing a toast, and refreshing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Two-step delete flow (per design):
Step 1 — "Delete ''?" confirmation. Body states the role is assigned to N team members and that you must reassign them to another role before deleting, or confirm to revoke their access permanently. Actions: Cancel, "Reassign members" (secondary -> step 2), "Delete anyway" (destructive — deletes the role and revokes those members' access). A role with 0 members should delete directly from a simple confirm.
Step 2 — "Reassign members before deleting" (after "Reassign members"). Body explains a replacement role will be assigned to the N users to prevent losing access. Controls: a "New role for assigned members" dropdown, a required checkbox "I understand this will update permissions for N members immediately.", actions Cancel / "Reassign & Delete" (destructive, enabled only when a replacement role is chosen and the checkbox is checked). On submit, reassign the members to the chosen role, then delete the original; toast and refresh.
Acceptance
- Step-1 modal shows the live member count and the three actions; "Delete anyway" deletes + revokes.
- "Reassign members" opens step 2; step-2 requires replacement role + confirmation checkbox before "Reassign & Delete" is enabled.
- Submit calls reassign then delete; toast and refresh.
- Standard roles never reach this flow.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 10
- Merge medio
- 5g 12h
- PR unite (30g)
- 23
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openedx/openedx-authz
-
Add a course permission check to ContainerChildrenViewForse già presa @BryanttV l’ha presa 5 giorni fa. Apertawillow
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
openedx/openedx-authz#604 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Allow Course Editors to import YouTube transcripts and surface errorsForse già presa @efortish l’ha presa 5 giorni fa. Apertawillow
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
openedx/openedx-authz#597 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
willow
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
openedx/openedx-authz#579 ·
I maintainer di solito rispondono entro 1 giorno
-
Bugs & MaintenanceApertawillow
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 20/100
openedx/openedx-authz#616 ·
I maintainer di solito rispondono entro 1 giorno
-
discovery documentation
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
openedx/openedx-authz#613 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di openedx/openedx-authz
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
btclib-org/btclib-wallet#1045 ·
I maintainer di solito rispondono entro 1 giorno
-
area-templates triage:bot-seen triage:needs-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
microsoft/aspire#22356 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
[Train] An elastic ScalingConfig(num_workers=(0, 0)) is accepted and the run waits foreverForse già presa @wguo7 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
ray-project/ray#68217 ·
I maintainer di solito rispondono entro 2 giorni