Repository navigation
Commit 11d4c5a
Refs #23268
Clause-②: no
The ADR-0090 D11 sentence of ruling of record `6159300530` on #23268,
letter A, item 2 (the maintainer's 「23268 同意」), drafted for the
maintainer's hand. This PR touches
`docs/adr/0090-permission-model-v2-concept-convergence.md` and one row
of `skills/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:
1. **The status block** gains one `Amended` line (2026-10-14): D11's
external org-wide default is retired, and external visibility is the
ADR-0095 `EXTERNAL` rung, explicitly shared rows only. It points at the
note under D11.
2. **Under the D11 heading**, one amendment note, quoting the ruling's
sentence: external visibility is ADR-0095 / ADR-0099's `EXTERNAL` rung
(explicitly shared rows only, never OWD-derived); `externalSharingModel`
is 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'
`externalSharingModel` and external-OWD clauses as superseded.
3. **`skills/objectstack-data/references/lint-rules.md`** loses its
`security-external-wider-than-internal` row (one line deleted): the
implementation PR removes that rule, and the skill ships with `npx
skills add`. A grep of the whole `skills/` tree for
`externalSharingModel`, `SECURITY_EXTERNAL_WIDER` and 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 `externalSharingModel`
among 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](https://claude.ai/code/session_01D6F9axfoPzR7t8G1J7Ytzz)_
---------
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 07b27b3 commit 11d4c5a
3 files changed
Lines changed: 21 additions & 1 deletion
File tree
- .changeset
- docs/adr
- skills/objectstack-data/references
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
481 | 493 | | |
482 | 494 | | |
483 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments