ComputerScienceHouse / ComputerScienceHouse/profiles

Updating Name only updates some names

未关闭
#74 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue
主要语言
HTML
星标
2
派生
30
平均合并
9 小时 34 分钟
30 天内合并 PR
5

描述

When a user sets name, profiles [only updates `cn`](https://github.com/ComputerScienceHouse/profiles/blob/1f3e0c9c2735408f96df155914f3d0167dcabeed/profiles/ldap.py#L240-L241), however `cn` is not the only reference to a user's name, so this leaves potentially outdated or dead names in the `givenName`, `initals`, `sn`, and `gecos` fields, or otherwise allow a user to see and update those fields.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start in profiles/ldap.py around lines 240-241 and trace the name-update flow. Check how cn is updated and how givenName, initals, sn, and gecos are represented there. Done means changing a user's name no longer leaves outdated name fields or lets those fields diverge from the new name.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
backend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。