docs(authz): 两道门分离已落地(从 roadmap 缺口移到 provenance 章节 · ADR-0086 P2)#2580
Merged
Conversation
… 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
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
os-zhuang
marked this pull request as ready for review
July 4, 2026 14:32
18 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
纯文档准确性修正。
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:不把已落地的说成待办)。变更
/studio/:packageId/access)= 草稿 → Publish → 物化进sys_permission_set(managedBy:'package'),复用registerPublishMaterializer+upsertPackagePermissionSet;sys_user/role_permission_set);managed_by:'package'行,fail-closed 于 CRUD 检查之前(超级用户亦挡),isSystem短路。allowed_ip_ranges([security][P2] Per-org / per-user IP allow-list (record-levelallowed_ip_ranges) — ADR-0069 D5 #2571)。范围说明
permission已按 draftable 类型处理,无关于旧「实时保存」的过时声明。关联
🤖 Generated with Claude Code
https://claude.ai/code/session_014y5kiH3aPLWtRRRGcVrXcT
Generated by Claude Code