refactor(spec): generalize Feishu to Connections

- Connections/Prelude.lean: ConnectionProvider 枚举 (当前仅飞书)
- Connections/Feishu.lean: FeishuAppBinding + FeishuProfile
- Connections.lean: ConnectionBinding/ConnectionProfile inductive
- Organization.feishu → connections: List ConnectionBinding
- User.feishu → connections: List ConnectionProfile
- 删除 FeishuConnection.lean
This commit is contained in:
2026-07-12 15:54:16 +08:00
parent 63416e06ea
commit 38c3231190
6 changed files with 53 additions and 15 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import Spec.Prelude
/-!
# User —— 用户创建路径
用户实体见 `Hierarchy.User`;飞书绑定见 `Spec.System.FeishuConnection`。
用户实体见 `Hierarchy.User`;外部连接见 `Spec.System.Connections`。
用户创建当前只钉管理员直接创建;飞书自助注册→管理员审批未钉死(`OPEN`)。
-/