Repository navigation
Commit 227b54e
docs(platform-objects): 18.5.0 CHANGELOG, a deactivated pending person is not told again (#35275)
Part of #35164
repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me
## 维护者速读
- 改了什么:只改 `packages/platform-objects/CHANGELOG.md` 已发布的 18.5.0
条目里一句话:Add User 重新添加已待激活的地址时「会再次通知托管组织」,补上「被停用的人员除外,此时不发送任何通知」。
- 为什么改:#35164 评论 6974439913 指出该句对被停用的待激活人员不成立(接口回 `host.notified:
false`,`reason: 'deactivated'`);AGENTS.md 规定已发布条目的事实错误在原条目上、以单独的
docs-only PR 修正,不搭在代码 PR 上。
- 风险与回滚:纯文档,不发布任何包;回滚即回退本 PR。
- 先看:`packages/platform-objects/CHANGELOG.md` 18.5.0 节 `2e1e3b9` 条目的那一行。
- 两分钟验证:`git diff origin/main --
packages/platform-objects/CHANGELOG.md`,预期只有一行改动。
- 需要你做的:无,席位落地。
## What changes
The released 18.5.0 entry (`2e1e3b9`) of
`packages/platform-objects/CHANGELOG.md` said that on an Add User re-add
of an address already pending "the hosting organisation is told again".
For a deactivated pending person nothing is sent: `addOnePendingPerson`
(`packages/plugins/plugin-auth/src/pending-sso-users.ts`) answers
`alreadyPending: true` with `host: { notified: false, reason:
'deactivated' }`. The sentence now reads "(the hosting organisation is
told again, unless the person is deactivated, in which case nothing is
sent; either way the position, permission set or manager sent with it is
not applied)".
The amendment is made in the released entry itself, in a docs-only PR,
as AGENTS.md's Documentation Guardrails require for
`packages/*/CHANGELOG.md`: never in a code PR, never as an erratum in a
later entry. The code half of #35164 (the Import Users labels) is in the
code PR on `claude/issue-34889-identity-outcome-copy`, which carries the
card's closing keyword.
`skip-changeset`: this diff declares no release; a changeset here would
publish an erratum in a later entry, which the same rule forbids.
## Acceptance notes
- `grep "told again"` over `content/` finds no release-notes page
carrying the same sentence; the 18.5.0 entry is the only copy.
## Verification
- `git diff --stat origin/main`: `packages/platform-objects/CHANGELOG.md
| 2 +-`, one file.
---
_Generated by [Claude
Code](https://claude.ai/code/session_01Utp6CZiaBg6rk7dpy1s9Me)_
Co-authored-by: Claude <noreply@anthropic.com>1 parent 0c047d0 commit 227b54e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
| 464 | + | |
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| |||
0 commit comments