User group lists still include deleted users (and they can't be removed)
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- haskell
- 领域
- authorization, backend
调研方向
首先跟踪 issue 中描述的用户删除流程、组成员关系编辑函数以及组列表逻辑。确定删除操作是否能够可靠地移除成员关系,或者列表是否必须隐藏或标记已删除的用户,然后验证已删除的用户不再错误地出现,并且仍可通过 API 管理成员关系。
由索引模型根据 Issue 内容生成。
描述
Once a user is marked as deleted, their username becomes free for reuse. However, they still show up in user group listings, and their name links to the user page currently with that username, which could by now be someone else.
Moreover, the group membership editing functions are keyed by username, and that username no longer resolves to their user ID, so we can't remove the group membership via the API anymore. (And user undeletion is not implemented yet, so I can't fix this!)
I think likely deleting a user should remove all group memberships. If we have some way to reliably ensure groups never contain deleted members, so much the better, but if not we may also want to modify the groups logic to not show deleted users, or to flag that the user is deleted.
- 主要语言
- Haskell
- 星标
- 471
- 派生
- 228
- 平均合并
- 5 天 6 小时
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
haskell/hackage-server 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 22/100
haskell/hackage-server#1530 · 4 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
haskell/hackage-server#1528 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 55/100
haskell/hackage-server#1523 ·
-
Count downloads from content delivery network可能已有人在做 @LaurentRDC 于 60 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 55/100
haskell/hackage-server#1517 · 1 条评论 ·
-
hackage-mirror can't mirror old packages可能已有人在做 @TTyChud 于 7 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 40/100
haskell/hackage-server#1515 ·
查看 haskell/hackage-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
haskell/bytestring#730 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
seal-harness/seal-harness#399 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
fmidue/codeworld-tasks#124 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
reflex-frp/reflex#563 ·