Frontend: Delete confirmation + reassign-before-delete modals
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- authorization, frontend
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 10
- Merge trung bình
- 5 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openedx/openedx-authz
-
Add a course permission check to ContainerChildrenViewCó thể đã có người làm @BryanttV đã nhận 5 ngày trước. Đang mởwillow
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openedx/openedx-authz#604 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Allow Course Editors to import YouTube transcripts and surface errorsCó thể đã có người làm @efortish đã nhận 5 ngày trước. Đang mởwillow
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openedx/openedx-authz#597 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
willow
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
openedx/openedx-authz#579 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Bugs & MaintenanceĐang mởwillow
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 20/100
openedx/openedx-authz#616 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
discovery documentation
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
openedx/openedx-authz#613 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của openedx/openedx-authz
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
can4hou6joeng4/boss-agent-cli#1487 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
btclib-org/btclib-wallet#1045 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area-templates triage:bot-seen triage:needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/aspire#22356 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100