Frontend: Revoke role assignment modal + toast
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 67/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 in the Members tab and trace the trash icon’s existing role-assignment actions, then find the frontend call for unassign_role_from_subject_in_scope. Follow the project’s modal and toast patterns and identify how the member list refreshes. Done when the confirmation shows the correct username, role, and scope, both standard and custom roles revoke successfully, feedback appears, and the list refreshes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Build the revoke flow — unassigning a single member from the role in a single scope, triggered by the trash (revoke) icon in the Members tab. Modal (per design):
- Title "Revoke role assignment?"
- Body: "Are you sure you want to remove {username} from the {role} role in {scope}? This user will immediately lose all permissions associated with this role for this resource."
- Actions: Cancel / "Revoke access" (destructive).
Maps directly to the existing unassign_role_from_subject_in_scope — no new backend primitive; the only work is the modal and wiring.
Acceptance
- Trash icon opens the modal with the correct username/role/scope interpolated.
- "Revoke access" calls
unassign_role_from_subject_in_scope; success/error toast; member list refreshes. - Works identically for standard and custom roles.
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 10
- Merge trung bình
- 5 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 22
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
-
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
-
willow
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
openedx/openedx-authz#590 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
willow
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
openedx/openedx-authz#589 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
willow
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
openedx/openedx-authz#588 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ADR: Custom roles audit modelĐang mởwillow
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
openedx/openedx-authz#587 ·
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ó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
Imbad0202/academic-research-skills#1039 ·
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 72/100
alexgreensh/token-optimizer#297 ·
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 86/100
superdesigndev/treg#1343 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
GitHub handle should allow underscoresCó thể đã có người làm @PrakarshSrivastav đã nhận hôm nay. Đang mởbug good-first-issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nf-core/tools#4581 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ANCORATE/EncryptHome#8 ·