xiaoqu-agent-service P2 权限层:自有库 7 表 + svc 数据源,/mcp ak 鉴权(401/ThreadLocal),tool 表启动同步 + scope 强制校验,行级数据权限引擎(移植 getByIsAgent),agent.list.query 基础版,audit_log 审计,种子数据与 curl 全流程实测通过

This commit is contained in:
xiaoqu
2026-09-03 12:01:09 +08:00
parent 7a9ea1e888
commit 70a45cf3b9
41 changed files with 1796 additions and 48 deletions
@@ -14,6 +14,8 @@ spring:
# Streamable HTTP 传输(Spring AI 1.1.8 已修复 Boot 3.5.x 下的 streamable NPE,
# 见 spring-projects/spring-ai#6274),默认端点 /mcp
protocol: STREAMABLE
# SYNC:工具回调在 servlet 请求线程上同步执行,ThreadLocal 鉴权上下文有效(实测验证)
type: SYNC
logging:
level: