ComputerScienceHouse / ComputerScienceHouse/packet

Show badges for Alumni and Advisors

Đang mở
#138 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
ux enhancement
Ngôn ngữ chính
Python
Star
25
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Right now we don't show badges for alumni and advisors due to the nature of it requiring an ldap sync.

1. Call LDAP on first misc signatures of a packet to collect roles
2. On subsequent signatures, check to see if they've signed another packet, if so, pull roles from previous signature to avoid ldap call
3. Update `ldap-sync` to update roles on all transitions

(We may also want to move in the schema a `roles` table so that we only pull the data once per person overall)

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 by tracing the packet signature handling and the `ldap-sync` entry point mentioned in the issue. Confirm how roles are currently obtained and persisted, then verify that first signatures query LDAP, later signatures reuse prior roles, and role transitions update all affected records; any schema change should be evaluated separately.

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

Đánh giá

Công nghệ
flask, python, sqlalchemy
Lĩnh vực
authorization, backend, database
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 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
35/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.