Skip to content

docs(authz): 两道门分离已落地(从 roadmap 缺口移到 provenance 章节 · ADR-0086 P2)#2580

Merged
os-zhuang merged 1 commit into
mainfrom
claude/production-launch-priorities-ps8hk3
Jul 4, 2026
Merged

docs(authz): 两道门分离已落地(从 roadmap 缺口移到 provenance 章节 · ADR-0086 P2)#2580
os-zhuang merged 1 commit into
mainfrom
claude/production-launch-priorities-ps8hk3

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

概述

纯文档准确性修正。content/docs/concepts/authorization.mdx 把「Two doors (ADR-0086 D6/D7)」列在 Known gaps & roadmap,但框架半边(#2573,发布物化 + managed_by 数据层写门)和 objectui 半边(objectui#2225,包 Access 门 draft/publish)都已合并——这条已不是缺口(ADR-0049 honesty:不把已落地的说成待办)。

变更

  • 新增 ADR-0086 provenance 章节下的「Two doors, one metadata」小节,如实描述已落地的三件事:
    • 包门(/studio/:packageId/access)= 草稿 → Publish → 物化进 sys_permission_set(managedBy:'package'),复用 registerPublishMaterializer + upsertPackagePermissionSet;
    • env-admin 门 = live,跨包矩阵 + 分配(sys_user/role_permission_set);
    • 数据层写门 = 硬拒绝管理门写/伪造 managed_by:'package' 行,fail-closed 于 CRUD 检查之前(超级用户亦挡),isSystem 短路。
  • 移除 roadmap 里的「Two doors」缺口条(已落地)。
  • 刷新 企业认证 roadmap 条:P1 + P2(会话/全局 IP/多节点共享限流 store)已落地,剩余仅 per-org allowed_ip_ranges([security][P2] Per-org / per-user IP allow-list (record-level allowed_ip_ranges) — ADR-0069 D5 #2571)。
  • ADR-0005 deny/muting subtract 层作为 ADR-0086 P2 真正 deferred 的剩余项。

范围说明

  • 检查过:只有 authorization.mdx 一处把两道门当缺口/roadmap;其余 hand-written 文档无 now-false 声明。
  • Skills 无需改动——两个 published skill(objectstack-ui/objectstack-data)只泛泛引用权限集,permission 已按 draftable 类型处理,无关于旧「实时保存」的过时声明。

关联

🤖 Generated with Claude Code

https://claude.ai/code/session_014y5kiH3aPLWtRRRGcVrXcT


Generated by Claude Code

… gap (ADR-0086 P2)

authorization.mdx listed "Two doors (ADR-0086 D6/D7)" under Known gaps &
roadmap, but the framework (publish-time materialization + managed_by
data-layer write gate) and objectui (package Access door draft/publish) halves
have shipped. Move it into the ADR-0086 provenance section as a landed
"Two doors, one metadata" subsection describing the package door
(draft→publish→materialize), the env-admin door (live, assignment), and the
data-layer write gate (admin door cannot edit/forge managed_by:'package' rows,
fail-closed ahead of the CRUD check; isSystem bypasses).

Also refresh the enterprise-auth roadmap bullet: P1 + the P2 session/global-IP/
shared-multi-node-rate-limit-store items are landed; the remaining gap is
per-org allowed_ip_ranges (#2571). Add the ADR-0005 deny/muting subtract layer
as the genuinely-deferred ADR-0086 P2 remainder.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014y5kiH3aPLWtRRRGcVrXcT
@vercel

vercel Bot commented Jul 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jul 4, 2026 1:54pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/s labels Jul 4, 2026
@os-zhuang
os-zhuang marked this pull request as ready for review July 4, 2026 14:32
@os-zhuang
os-zhuang merged commit 34fc0cc into main Jul 4, 2026
15 checks passed
@os-zhuang
os-zhuang deleted the claude/production-launch-priorities-ps8hk3 branch July 4, 2026 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants