Repository navigation
Commit e9884e1
docs(adr-0135): on D6, an SSO link and a sign-in that would change an account's address follow the proven-domain rule (#33356)
## 维护者速读
- 改了什么:仅在 `docs/adr/0135-identity-and-access-architecture.md` 的 D6
下新增一条带日期的说明:开启 SSO
域名验证后,"已验证域名"规则除了管新建账号,也管隐式关联到已有账号,以及会改写已关联账号已存邮箱的登录(无法判定时也拒绝);不改写任何东西的登录与用户自己发起的显式关联不判定。D6
正文"已有账号不复查"一句加注例外并指向该说明;"本文件不新增条款"一句改为指向 D6 的两条说明。
- 为什么改:#33307 把同一条规则延伸到这两条路径,而 D6 原文写着"已有账号不复查"。授权来源是维护者 2026-11-14
的裁决(安全车道决策卡,选项 B「只拦会改邮箱的登录」,由 review#2 记录 6884303063 转述);记录 6880992920
是要求留下此说明的复核。
- 风险与回滚:纯文档,不改代码、不发布;回滚即还原本 PR。
- 先看:`docs/adr/0135-identity-and-access-architecture.md` 中 D6 末尾新增的
2026-11-14 说明。
- 两分钟验证:打开该文件搜索 "Note (2026-11-14",预期看到一段说明,写明链接与改邮箱登录按同一已验证域名规则判定。
- 需要你做的:以授权账号审批本 PR(Tier H 受管面 `docs/adr/**`);审批即确认 D6 记录该裁决的写法。请在
#33307 合并后再落地。
## What changes
`docs/adr/0135-identity-and-access-architecture.md`, D6 only:
- A dated note (2026-11-14). With SSO domain verification on, the
proven-domain account rule also decides two more cases. An implicit link
to an existing account is made only at a proven domain. A sign-in into
an already-linked account is refused when it would change the stored
address to one outside the proven domains, and refused where whether it
would change the address cannot be determined.
- What the note leaves unjudged: a sign-in that changes nothing is
admitted, and an explicit link is not judged.
- The rule's own refusal answers `EMAIL_DOMAIN_NOT_ALLOWED`; an input
the gate cannot read is refused by the gate's general refusal.
- The authority is the maintainer's ruling of 2026-11-14, relayed in
review record 6884303063. Record 6880992920 is cited as the review that
required the note. #33307 implements the rule.
- In the D6 body, "Accounts that already exist are not re-checked" now
names its two exceptions and points to the note.
- "What this record does NOT settle": the exception now points at the
proven-domain account rule the D6 notes name, plural.
No code, no published package, so `skip-changeset`.
## Verification
- At `d2d02d8838`, the `dispatch-gates --commands` derivation for this
diff (21 families), reconciled with `--ran`: 21 run, 0 not measured.
## Acceptance notes
- This is a governed surface (Tier H). It lands only after an authorized
approval, and only after #33307 has merged. If #33307's head moves the
rule again, re-read the note.
---
_Generated by [Claude
Code](https://claude.ai/code/session_017xRBcT1w3zpekijraHJE4f)_
<!-- signed: security#1 · sunhaolin · session_017xRBcT1w3zpekijraHJE4f
-->
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5abcad0 commit e9884e1
1 file changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
| 267 | + | |
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| |||
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
285 | 304 | | |
286 | 305 | | |
287 | 306 | | |
| |||
331 | 350 | | |
332 | 351 | | |
333 | 352 | | |
334 | | - | |
335 | | - | |
| 353 | + | |
| 354 | + | |
336 | 355 | | |
337 | 356 | | |
338 | 357 | | |
| |||
0 commit comments