Skip to content

Commit 227b54e

Browse files
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

File tree

‎packages/platform-objects/CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@
461461
Clause-②: yes (widening) — two new `sys_user` actions, `add_sso_user` (target `POST /api/v1/auth/admin/add-sso-user`) and `import_sso_users` (target `POST /api/v1/auth/admin/import-sso-users`), each offered only to a platform administrator on a cloud-managed environment (`current_user.isPlatformAdmin == true && has(features.cloudManaged) && features.cloudManaged == true`) and declaring `requiredPermissions: ['manage_users']`; their labels, descriptions, params and result dialogs are new translation keys in the `sys_user` bundles. Nothing that was offered before is hidden: off a managed environment both new actions are hidden and every existing action answers as before.
462462
Metadata-protocol: none
463463

464-
On a cloud-managed environment (`OS_CLOUD_MANAGED=1`) the password and invitation actions stay hidden, as before: `create_user`, `set_user_password` and the four `invite_user` mirrors. In their place a platform administrator now sees **Add User** (email, name, and optionally a position, a permission set and the manager's email address) and **Import Users** (CSV text with the columns `email`, `name`, `positions`, `permission_sets` and `manager_id`, at most 500 rows). Each adds a pending person ahead of their first sign-in, stored with `sys_user.source` = `idp_pending` and no password, who then signs in through the hosting organisation's identity provider. The Add User result names an address that was already pending (the hosting organisation is told again, and the position, permission set or manager sent with it is not applied), a manager that could not be linked, and an invitation the hosting organisation was not told about. The Import Users result shows how many rows were added, already pending or not added, and the answer for each row.
464+
On a cloud-managed environment (`OS_CLOUD_MANAGED=1`) the password and invitation actions stay hidden, as before: `create_user`, `set_user_password` and the four `invite_user` mirrors. In their place a platform administrator now sees **Add User** (email, name, and optionally a position, a permission set and the manager's email address) and **Import Users** (CSV text with the columns `email`, `name`, `positions`, `permission_sets` and `manager_id`, at most 500 rows). Each adds a pending person ahead of their first sign-in, stored with `sys_user.source` = `idp_pending` and no password, who then signs in through the hosting organisation's identity provider. The Add User result names an address that was already pending (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), a manager that could not be linked, and an invitation the hosting organisation was not told about. The Import Users result shows how many rows were added, already pending or not added, and the answer for each row.
465465

466466
Neither action is exposed to AI agents (no `ai` block): both are human-only until assessed.
467467
- Updated dependencies [f229dfd]

0 commit comments

Comments
 (0)