feat(debug-trace): 调试链接权限 + trace_url 落库与按权限下发 #35
Reference in New Issue
Block a user
Delete Branch "feat/debug-trace-link"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
- user 加 debug_trace_enabled、comparison_record 加 trace_url - 迁移 f8d3b1e60a27:加两列,down_revision 用 tuple 顺带合并既存双 head(invite_fingerprint_table + 044dce6e9b1f) - UserOut 加 debug_trace_enabled → /me 与登录响应带出 - ComparisonRecordIn/Out 加 trace_url;upsert 落库 - /compare/records 列表与详情按 user.debug_trace_enabled 下发;详情连 raw_payload 里那份一并抹掉,防权限绕过 - admin 加 POST /users/{id}/debug-trace(operator + 审计),列表带该字段 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>