ComputerScienceHouse / ComputerScienceHouse/packet

Show badges for Alumni and Advisors

未关闭
#138 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
ux enhancement
主要语言
Python
星标
25
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

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)

贡献指南

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

调研方向

首先追踪 issue 中提到的数据包签名处理和 `ldap-sync` 入口点。确认当前如何获取和持久化角色,然后验证首次签名会查询 LDAP,后续签名会复用之前的角色,并且角色转换会更新所有受影响的记录;任何 schema 变更都应单独评估。

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

评估

技术栈
flask, python, sqlalchemy
领域
authorization, backend, database
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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