ComputerScienceHouse / ComputerScienceHouse/profiles

Updating Name only updates some names

Đang mở
#74 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue
Ngôn ngữ chính
HTML
Star
2
Fork
30
Merge trung bình
9 giờ 34 phút
Pull request đã merge (30 ngày)
5

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
backend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.