Files
dolphin 09cb3af3f2 fix(F034): switch knowledge_space_file multi-role quota from max to min; collapse batch quota errors into one toast
- _aggregate_knowledge_space_file_limit_gb now takes the strictest (smallest)
  finite cap across roles; -1 (unlimited) is treated as +inf and only wins
  when every role is unlimited
- Add 4 unit tests covering min/unlimited/default combinations
- Update F005 spec AC-17b to document the knowledge_space_file exception
- Collapse same-code quota/permission upload failures (18024/19403) into a
  single summary toast line instead of N identical lines
- Add i18n key file_upload_quota_batch (zh-Hans/en/ja)
2026-06-16 21:08:39 +08:00
..

v2.5.0 Feature 索引

版本目标:权限体系从 RBAC 迁移到 ReBAC(OpenFGA)+ 多租户支持(逻辑隔离)

版本契约release-contract.md

开发主线分支2.5.0-PM


Feature 列表

# Feature 优先级 状态 依赖
F000 test-infrastructure P0 🔲 未开始
F001 multi-tenant-core P0 🔲 未开始 F000
F002 department-tree P0 🔲 未开始 F001
F003 user-group P0 🔲 未开始 F001
F004 rebac-core P0 🔲 未开始 F001, F002, F003
F005 role-menu-quota P1 🔲 未开始 F004
F006 permission-migration P1 🔲 未开始 F004, F005
F007 resource-permission-ui P1 🔲 未开始 F004
F008 resource-rebac-adaptation P1 🔲 未开始 F004, F007
F009 org-sync P2 🔲 未开始 F002
F010 tenant-management-ui P1 🔲 未开始 F001, F005

依赖图

F000-test-infrastructure
  │
  v
F001-multi-tenant-core
  │         │         │
  v         v         v
F002-dept  F003-grp  F010-tenant-mgmt-ui ←── 也依赖 F005
  │         │
  └────┬────┘
       v
F004-rebac-core
  │         │         │
  v         v         v
F005-role  F007-ui   F008-resource-adapt ←── 也依赖 F007
  │
  v
F006-migration

F009-org-sync ← 仅依赖 F002P2,延后)

分阶段推进

阶段 Feature 说明
Phase 1 F000 → F001 基础设施,关键路径
Phase 2 F002 + F003(可并行) 组织模型
Phase 3 F004 权限引擎,关键路径
Phase 4 F005 + F007 + F008 + F010(高并行) 集成层
Phase 5 F006 迁移,上线前最后完成
延后 F009 P2,飞书/企微/钉钉组织同步