Commit Graph

3 Commits

Author SHA1 Message Date
c2b3c5004f docs: 技术文档随仓库——架构设计/迁移手册/C3基线/C5报告迁入 docs/
文档分层:随代码演进的技术文档入 git(团队 clone 可得、有版本与评审);
决策档案与含商务内容的治理文档留工作区 docs/(不随仓库分发,外包 clone 不携带)。
全部交叉引用已更新(README×2/实测报告×2/登记表/pom/ArchUnit 注释)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 11:26:44 +08:00
fc867dc110 feat(auth): C2 数据权限最小真实现替换桩(保真层原样移植)
把 framework 的数据行级权限实现原样移植进保真层 platform-legacy-core
(包名 com.dsasp 不动),删除 platform-auth 的不过滤桩,由真实现接管
@Service("dataPrivilegeService"):

- DataPrivilegeServiceImpl(226 行):getWhereClause 按 ctx.ROLES 匹配
  SYS_FILTERRULE 规则拼 " AND (...)" 行级过滤;无角色命中抛 PrivilegeException。
- DataFilterHelper(110 行):FILTERRULE(Conditional[])JSON 互转,用 Jackson 1.x
  (org.codehaus.jackson),保真纪律不改写为 Jackson 2;父 pom + legacy-core pom
  引入 jackson-mapper-asl:1.9.13。
- MethodSecurityInterceptor 注解(被 Impl 引用,原样拷入)。
- 删除 StubDataPrivilegeService(与新 Bean 重名冲突);platform-auth/README.md
  说明 dataPrivilegeService 已由保真层接管、P2 在此做组织/权限整体真实现。
- 单测 9 用例(DataFilterHelper JSON 互转 + getWhereClause 拼接,假 POJOInfo)。

全模块 mvn clean install 通过,ArchUnit 仍绿。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 00:10:49 +08:00
a9219c5c77 chore: 落地 eip4-platform 多模块骨架基线(PoC→工程化)
从 eip4-poc 迁入双层制模块化单体:保真层 platform-legacy-core
(com.dsasp 引擎原样)+ 现代层 platform-metadata/auth/flow-gateway/
converter/ai + platform-app 启动器。ArchUnit 纪律固化(保真层禁依赖现代层)。
此为 C1 对拍工作的编译通过基线。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-10 23:40:51 +08:00