Repository navigation
docs(adr): ADR-0090 D11 — external visibility is the EXTERNAL rung; externalSharingModel retired (#23268) - #23443
Conversation
…xternalSharingModel retired Claude-Session: https://claude.ai/code/session_01D6F9axfoPzR7t8G1J7Ytzz Co-authored-by: Claude <noreply@anthropic.com>
…r-0090-d11-external
…an-internal row from the lint-rule reference Claude-Session: https://claude.ai/code/session_01D6F9axfoPzR7t8G1J7Ytzz Co-authored-by: Claude <noreply@anthropic.com>
Contract reviewServed-tier: Inputs read: card #23268 (body + all 9 comments, ruling of record ① Derived judgmentsAccept-set / public surface the diff implies
② Semver levelWrong:
Fix (one file, one label): remove ③ Boundary flags
Implemented-by: VERDICT: FAIL (① right on all five points; ③ answered; FAIL on ② alone — Adopted by Generated by Claude Code |
Claude-Session: https://claude.ai/code/session_01D6F9axfoPzR7t8G1J7Ytzz Co-authored-by: Claude <noreply@anthropic.com>
Contract reviewServed-tier: Supersedes the record this seat rendered on ① Derived judgmentsUnchanged from the previous head (the two governed hunks did not move); restated so this record stands alone.
② Semver levelRight. The changeset matches what the diff publishes.
③ Boundary flags
Implemented-by: VERDICT: PASS Adopted by Generated by Claude Code |
维护者速读(终稿)· PR #23443 ·
|
Refs #23268
Clause-②: no
The ADR-0090 D11 sentence of ruling of record
6159300530on #23268, letter A, item 2 (the maintainer's 「23268 同意」), drafted for the maintainer's hand. This PR touchesdocs/adr/0090-permission-model-v2-concept-convergence.mdand one row ofskills/objectstack-data/references/lint-rules.md, both governed, so it is Tier H: it lands by an authorized approval, never by a seat on green.What changes
Two ADR additions, the shape the ADR's earlier amendments already use, and one published-skill deletion:
Amendedline (2026-10-14): D11's external org-wide default is retired, and external visibility is the ADR-0095EXTERNALrung, explicitly shared rows only. It points at the note under D11.EXTERNALrung (explicitly shared rows only, never OWD-derived);externalSharingModelis retired (ADR-0049); when a portal or partner line is built, external principals reach rows through explicit shares, relationship-based grants (a sharing set: the records related to the principal's account or contact — Salesforce's sharing sets, Power Pages' table-permission scopes) and share links, from an identity pool separate from members. D11's identity-pool text is kept, and the note says to read the bullets'externalSharingModeland external-OWD clauses as superseded.skills/objectstack-data/references/lint-rules.mdloses itssecurity-external-wider-than-internalrow (one line deleted): the implementation PR removes that rule, and the skill ships withnpx skills add. A grep of the wholeskills/tree forexternalSharingModel,SECURITY_EXTERNAL_WIDERand the rule id finds no other line.Not edited, on purpose: the D11 bullets themselves (the decision as taken stays readable), the D11 summary line in the decision list near the top, and the P1 phasing bullet that names
externalSharingModelamong the pre-launch shapes. The amendment line and the note govern both; if you prefer those two lines struck through as well, that is a two-line follow-up in this same PR.The implementation is the separate draft PR for #23268 (branch
claude/issue-23268-retire-external-sharing-model), which touches no governed surface.维护者速读(草稿)
改了什么
ADR-0090 的 D11 加了一条修订:状态栏新增一行"已修订",D11 标题下新增一段说明。内容是:外部用户(门户、合作伙伴)能看到哪些记录,由 ADR-0095/0099 已实施的
EXTERNAL档决定,只认明确共享给他的记录,不看任何组织级默认;externalSharingModel退役;将来真做门户或伙伴产品线时,外部用户通过显式共享、关系授权(共享集:与其客户或联系人相关的记录)和分享链接拿到记录,身份池与内部成员分开(D11 原有的身份池表述保留)。原 D11 条目不删,只标明被这段说明取代。另外,对外发布的技能包
skills/objectstack-data/references/lint-rules.md删掉了已随代码退役的security-external-wider-than-internal规则那一行,避免 AI 作者照着一条不存在的规则写元数据。为什么改
您 10 月 14 日对 #23268 裁了 A(「23268 同意」):这个"外部可见性开关"作者能设、Studio 能显示,但从来不影响任何人的访问结果。D11 原文还写着"外部可见性 = 自己的记录 + 显式共享 + 外部 OWD",和已实施、有测试锁住的 ADR-0095 直接矛盾。代码侧的退役在另一个 PR 里;这份修订让决策记录和实际一致,消掉两份记录之间的矛盾。
风险与代价(含回滚)
纯文档改动,不改任何代码或运行行为,零运行风险。代价是 D11 的原文保留、加注取代说明,读者要读到那段说明才知道外部 OWD 已退役。回滚:撤销这个 PR 的提交即可,ADR 回到原状;但代码侧退役一旦落地,回滚这段文字会让记录重新和实现不一致。
席位意见
你要做的(一个动作)
读一遍 D11 下新增的那段说明,措辞同意就批准这个 PR。
Generated by Claude Code