Account deletion: supervisor branch
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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)
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- 平均合并
- 12 小时 7 分钟
- 30 天内合并 PR
- 18
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ClockGU/clockwork-backend 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
ClockGU/clockwork-backend#189 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
ClockGU/clockwork-backend#183 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
ClockGU/clockwork-backend#182 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
ClockGU/clockwork-backend#169 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
ClockGU/clockwork-backend#181 ·
维护者通常 1 天内回复
查看 ClockGU/clockwork-backend 的全部 Issue
相似的 Issue
-
separate_packages splits imports from the same explicitly configured package可能已有人在做 @rahul05ranjan 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 66/100
TigreGotico/text2spoken#626 ·
维护者通常 1 天内回复
-
oncoref MappingProxyType in proteome.layers breaks deepcopy in reference_coverage._inventory可能已有人在做 @iskandr 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
pipecat-ai/pipecat#7014 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
NL-BioImaging/biomero#136 ·
维护者通常 1 天内回复