Account deletion: supervisor branch
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
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start from the handler for DELETE /employees/me and inspect the petition models, existing transaction and deletion patterns, EmailHandler templates, BackgroundTasks, and send_serialized_data_to_clerks. Implement the listed supervisor branch and check the related tests for deletion, notifications, clerk updates, and the 204 response, including the no-petitions case. Done means the specified petition changes, emails, and clerk refresh occur as required.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Part of the Account deletion parent (#181). Depends on (b) #179.
Tasks
- Supervisor branch of
DELETE /employees/me(handler), in one transaction:- Capture the supervisor's non-completed petitions (
Petition.user_account == sub): id, student_username/student_mail, start/end date, status, budget approvers - Delete those petitions (budget positions cascade)
- On the supervisor's completed petitions, set
user_account = NULLandsupervisor_mail = NULL - Commit
- Capture the supervisor's non-completed petitions (
- Mail the student + all budget approvers per deleted petition (DE+EN template via
EmailHandler+BackgroundTasks) - If any affected petition had a clerk-relevant status, push the refreshed clerk list via
send_serialized_data_to_clerks - Always return
204(also when the supervisor has no petitions)
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 0
- Merge trung bình
- 12 giờ 7 phút
- Pull request đã merge (30 ngày)
- 18
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 ClockGU/clockwork-backend
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
ClockGU/clockwork-backend#189 ·
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
ClockGU/clockwork-backend#183 ·
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 68/100
ClockGU/clockwork-backend#182 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add alembic upgrade predeployĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ClockGU/clockwork-backend#169 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
ClockGU/clockwork-backend#181 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ClockGU/clockwork-backend
Issue tương tự
-
separate_packages splits imports from the same explicitly configured packageCó thể đã có người làm @rahul05ranjan đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
TigreGotico/text2spoken#626 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
oncoref MappingProxyType in proteome.layers breaks deepcopy in reference_coverage._inventoryCó thể đã có người làm @iskandr đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
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 82/100
pipecat-ai/pipecat#7014 ·
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 62/100
NL-BioImaging/biomero#136 ·
Maintainer thường phản hồi trong vòng 1 ngày