Skip to content

Commit 2c96e0d

Browse files
docs(skills): renaming a position tells the author to re-point their own source, names the environment owner, and restores the explain gate (#34105)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi9RTAWwDs8gd2Z3ErxN5LrxK)_ Fixes #33566 domain:skills#2 · os-steve · session_01ADHkmTSWHtysbqqYGcsTP1 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:`objectstack-data` 技能 security 规则里「Renaming a position(岗位改名)」一段补三处:作者要自己改掉包源码里仍写旧岗位名的地方(共享规则接收方、审批人、队列成员、策略 `positions`、`current_user.positions` 谓词);「被另一方记录」的拒绝条件把环境(Setup 创建,`sys_metadata`)也列为所有者;明说改名搬运只改写持有人行,其他引用旧名的地方一概不改写(含 Setup 里写的)。同时把 PR #33480 删掉的运维规则补回:用 explain 查看别人的权限需要 `manage_users`、该用户所在组织的管理员身份,或覆盖该用户的委派 `adminScope`。另追加一条评测用例。 - 为什么改:原文只说「启动日志为管理员列出其他引用」,读起来像作者什么都不用做;实际上搬运从不改写包里的共享规则、审批槽位等,作者不改源码,新版本上线后这些引用仍指向已不存在的旧名。 - 风险与回滚:只动已发布技能文字、评测夹具、changeset 和 token 上限行,不动运行时与契约;先就地删重复付账,余额按实测抬棚(本 PR 净增 108 字节;与 #34019 合并后 16164 → 16272 字节,上限 4041 → 4068 token,零余量)。回滚即 revert 本 PR。 - 先看:① `skills/objectstack-data/rules/security.md` 末尾「Renaming a position」段(新增句是否与 `position-renamed-holder-carry.ts` 一致);② 同文件 § Assigning a permission set 的 explain 句;③ 本文件的删减处与 `scripts/check-skills-token-ratchet.mjs` 的 security.md 行。 - 两分钟验证:`node scripts/check-skills-token-ratchet.mjs`,预期 `skills/objectstack-data/rules/security.md is 4068 tokens (ceiling 4068; headroom 0)` 且以 ✓ 收尾。 - 需要你做的:落地档 Tier H,需 GOVERNED_APPROVERS 审批;复审 6899620269 的 FAIL 已由 delta 6900037119 关闭,#34019 合入后的串行返工(head 464f620)增量复审由席位交 review#2。 ## What changes `skills/objectstack-data/rules/security.md`, the **Renaming a position** paragraph now reads: > **Renaming a position:** declare `renamedFrom: ['old_name']` on the renamed position, never delete and re-add (holders lose its sets). At boot its holders (`sys_user_position`) move to the new name in every organization, idempotently. Only holders: no other reference to the old name is rewritten, Setup-authored ones included. Re-point your own source naming the old one: a `type: 'position'` sharing recipient, queue member or approver, a policy's `positions`, a `current_user.positions` predicate. The boot log lists stored references by table (sharing, queue and share recipients, pending approvers, invitations) for an admin. Not carried (warned): an old name still a position anywhere, claimed twice, recorded under another owner (a package or the environment), switched off, or a disabled claimant. Card items, each re-checked against main `63db7240` first; none was already said, so all four were written: 1. The author re-points their own package source. Beyond the card's three examples (sharing recipient, approval `position:NAME` slot, RLS over `positions`), the sentence also names a queue member and a `current_user.positions` predicate, both real authoring sites (`skills/objectstack-data/SKILL.md` § Ownership queues `members`; the placeholder table in the same file). 2. "recorded under another package" → "recorded under another owner (a package or the environment)". 3. "no other reference to the old name is rewritten, Setup-authored ones included" (the card's premise said Setup-authored bodies are carried; the code rewrites none of them). The carry does READ every position's `renamedFrom`, environment positions included, so the sentence says what is not rewritten, not what is not read (review 6899620269 M-1). 4. § Assigning a permission set to a user, after "`GET /api/v1/security/explain?object=&operation=&userId=` answers from the enforcing code path.": "Explaining another user takes `manage_users`, administering one of their organizations, or a delegated `adminScope` covering them." PR #33480 had cut "(explaining another user needs `manage_users`)"; the restored rule states the whole gate the code runs, not only `manage_users`. `skills/objectstack-data/evals/hooks-security-seeds-datasources.json`: one appended case, id 22 (#34019 holds id 21; a package renames `sales_rep` → `crm_sales_rep` while its own sharing rule names `sales_rep`; the answer declares `renamedFrom` and re-points the rule in source). `.changeset/33566-skills-position-rename-own-source.md`: `@objectstack/skills` patch. `scripts/check-skills-token-ratchet.mjs`: the `rules/security.md` row 4041 → 4068 (+27, on top of #34019's 3959 → 4041, whose comment is kept), pinned at the measurement, comment `ceil(16272 / 4)`. Standing ruling 「A:先削重复,余额按实测提高」: the cuts below were paid first (313 bytes), the measured remainder raises the row. The `tabPermissions` pointer is kept, shortened (103 → 94 bytes): "`tabPermissions` hides an app, never gates it: objectstack-ui → Who sees or opens an app." (dev open question answered B, restored: seat ruling, review S-1). Cuts, each with its surviving home: | Cut (bytes) | Surviving home | |:--|:--| | `tabPermissions` pointer shortened (−9) | the same pointer, shorter; the rule's home stays `skills/objectstack-ui/rules/navigation.md` § Who sees or opens an app | | Kernel-name list in the membership-keys bullet → "a fixed placeholder above, `accessible_org_ids`" | the placeholder table in the same file (`id`, `email`, `organization_id`, `org_user_ids`, `positions`, `queues`); `accessible_org_ids` kept by name as it is not in the table | | Membership-tier closed list (−73) | the docs anchor kept in the same sentence (`#membership-tiers-are-a-closed-list`) | | Second definition of `outside-closure` / `ambiguous-in-closure` in the positions bullet → "as for a queue above" (−44) | the queue bullet in the same section; the Setup-authored-set and install-refusal clauses are kept | | ", or refused below" (−19) | the next bullet: "the position grants nothing through that name" | | "Assignment is one `POST …`." merged into the next sentence (−28) | the same sentence still names the POST path | | "Declare the set on the **roster** object, not one policy per record." (−70) | the section heading ("a `current_user.KEY` set the roster object declares") and the "Choose by what the rows are keyed on" bullet | | `// in a permission set` code comment (−23) | the RLS paragraph above it ("policies on a **permission set / profile**") | Authoring tier: `dispatch-gates --tier` answers MANDATORY CONTRACT_REVIEW_TIER for `skills/**` (clause ①). The card thread is served below that tier, so this diff was authored by an isolated os-dev subagent pinned to CONTRACT_REVIEW_TIER on the same branch, as the card delta orders, in both rounds (the fix round followed the seat's order on review 6899620269); the thread merged main, ran the gates and the relay. ## Tests No package source changes, so there is no package test to run. The eval case is a fixture (measured, not ratcheted) and is self-consistent: both `must_contain` strings (`renamedFrom: ['sales_rep']`, `value: 'crm_sales_rep'`) appear in its `expected_output`. `must_not_contain` is empty: the earlier `value: 'sales_rep'` occurs in the prompt, so a correct before/after answer would have failed (review S-2), and no string only a wrong answer writes was found. <details><summary>Size readings, before (merge base <code>b8456ebd</code>) and after (<code>464f620f</code>)</summary> | Reading | before | after | |:--|:--|:--| | `rules/security.md` lines / bytes | 334 / 16164 | 334 / 16272 | | same file, priced tokens / ceiling | 4041 / 4041 | 4068 / 4068 | | `evals/hooks-security-seeds-datasources.json` lines / bytes / tokens (not ratcheted) | 215 / 19036 / 4759 | 225 / 20311 / 5078 | | ratcheted (authored) bundle tokens / ceiling sum | 188580 / 194710 | 188607 / 194737 | | eval fixtures tokens | 48379 | 48698 | | bundle total tokens (whole shipped tree) | 248754 | 249100 | No `SKILL.md` is touched. The before column is measured on `b8456ebd` (#34019 landed: `rules/security.md` 4041, eval id 21 taken); this PR's own delta is unchanged from the earlier rounds (+108 bytes / +27 tokens on `security.md`, one eval case). </details> ## Acceptance notes Each sentence was checked against the code on `63db7240`, not against the card. <details><summary>Items 1 and 3: the carry rewrites holders only</summary> `packages/plugins/plugin-security/src/position-renamed-holder-carry.ts`, module doc, "What it names and never writes" (lines 78-80): ```ts * Holders only (ruling A1). Every other stored reference to an old name stays * as it is and is listed by table, so an administrator can re-point it in * Setup: sharing-rule, queue-member and record-share recipients of type ``` "What it is not" (lines 89-91): ```ts * Not a downgrade path: a version that drops the rename does not carry the * holders back. Not a metadata rewrite: Setup-authored bodies that name an * old position are not read. ``` So a package's own sharing rule, approver or policy naming the old position keeps naming it until the author changes the source; the boot log lists stored rows by table for an administrator. An environment position's own `renamedFrom` is still judged and its holders carried (`position-renamed-holder-carry.test.ts` lines 347-361: `{ from: 'old_rep', to: 'env_rep', packageId: null, rows: 1 }`), and the carry reads every position's `renamedFrom` ("What it does", lines 23-25). That is why the sentence says what is not rewritten rather than what is not read (review 6899620269 M-1; the first round's "no metadata is read" was wrong for exactly this case). </details> <details><summary>Item 2: the environment as recorded owner</summary> Module doc, `owned-by-other` (lines 63-65): "a row carrying the environment's sentinel (`sys_metadata`) records the environment as the owner, so a package's claim is refused and an environment position's is not." Line 173: `const OVERLAY_PROVENANCE_SENTINEL = 'sys_metadata';`, mapped at line 618: ```ts const pkg = raw === null ? null : raw === OVERLAY_PROVENANCE_SENTINEL ? ENVIRONMENT_OWNER : raw; ``` Test rows 214 and 216 refuse `owned-by-other` both ways (an environment position claiming a name the ledger records under a package; a package claiming a name the ledger records as the environment's), hence "another owner (a package or the environment)". </details> <details><summary>Item 4: the explain gate</summary> `packages/plugins/plugin-security/src/security-plugin-explain-access.ts`, `mayDescribeAnotherUser` (lines 145-165), asked by `explain` and by `describeEffectiveAccess` alike: ```ts if (callerContext?.isSystem === true) return true; const callerSets = await this.resolvePermissionSetsForContext(callerContext).catch(() => []); const held = this.permissionEvaluator.getSystemPermissions(callerSets); if (held.has('manage_users')) return true; const organizationLevel = this.delegatedAdminGate ? await this.delegatedAdminGate .organizationAdminCoversUser(callerSets, userId, callerContext) ``` …then `scopesCoverUser` for a delegated `adminScope`. The denial (line 196): "explaining another user's access requires the 'manage_users' capability, organization administration of an organization that user is a member of, or a delegated adminScope covering that user (ADR-0090 D6/D12)." The routes are `GET` / `POST {basePath}/security/explain` (`packages/rest/src/security-routes.ts`). The system-caller arm is left out as not an operator fact. </details> ## Verification <details><summary>Derived gates on <code>464f620f</code> (serial rework after #34019): 64 derived, 64 run, all exit 0</summary> Head `464f620f` = `b9479f0d` plain-merged with `origin/main` `b8456ebd` (#34019). Two conflicts, resolved mechanically by the thread (no new teaching): the eval case renumbered 21 → 22; the ratchet row re-pinned at the merged measurement (16272 bytes → 4068), #34019's comment kept above it. `rules/security.md` merged without conflict. `pnpm install` exit 0; packages built under the verify lock (`os-verify-lock: VERDICT command-exit 0`, 81 of 81 tasks). `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` listed 64 commands (4 paths vs merge base `b8456ebd4`); each ran with `< /dev/null`, exit recorded as `CMD :: exit N`, reconciled: ``` Run reconciliation — 64 derived, 64 run, 0 NOT-MEASURED, 0 UNRUN. ✓ dispatch-gates --ran: 64 derived famil(ies) accounted for — 64 run, 0 NOT-MEASURED (a DERIVED zero — all 64 recorded an exit code and none of them is 3). ``` Also run, each exit 0: `pnpm --filter @objectstack/spec check:skill-docs`, `check:skill-refs`, `check:skill-examples` ("347 prose examples type-check across 3 surface(s)"), and the seven unmatched-roster gates the derivation flags as living in a directory this diff touches (`check-dts-references --self-test`, `check-published-list-mirrors` + `--self-test`, `check:changeset-fixed`, `check:engine-double-contract`, `check:i18n-stale-fill`, `check:published-readme-exports`). Token ratchet: 57 authored bundle files within their ceilings; `rules/security.md` 4068 / 4068; `--self-test` 104 cases pass. Earlier rounds: `b9479f0d` 63 derived, all exit 0; `169a40a0` 45 derived, all exit 0. </details> <details><summary>Governed-surface reading</summary> `node scripts/pm/check-governed-merges.mjs --pr 34105` on `464f620f`: "2 of 4 path(s) hit the register" (`skills/**` ×2; the changeset and `scripts/check-skills-token-ratchet.mjs` are not on the register), landing tier **H**. The low-risk skills arm refuses on two counts: "a path outside skills wording and prose: scripts/check-skills-token-ratchet.mjs" and "a catalog path that names security, auth or permission". Size 84 changed lines (+60 / -24), under the 3000 human-merge threshold. Landing waits for a GOVERNED_APPROVERS approval. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01ADHkmTSWHtysbqqYGcsTP1 <!-- signed: domain:skills#2 · os-steve · session_01ADHkmTSWHtysbqqYGcsTP1 --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 9e7c695 commit 2c96e0d

4 files changed

Lines changed: 60 additions & 24 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): renaming a position tells the author to re-point their own source, names the environment as an owner, and restores who may explain another user
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
`skills/objectstack-data/rules/security.md`, the **Renaming a position** paragraph: the holder carry moves holders only and rewrites no other reference to the old name, Setup-authored ones included, so the author re-points their own package source that names the old position (a `type: 'position'` sharing recipient, queue member or approver, a policy's `positions`, a `current_user.positions` predicate); the boot log lists stored references by table for an administrator. The not-carried list now says an old name recorded under another owner, a package or the environment, since the activation ledger records the environment as an owner too. § Assigning a permission set to a user says again who may ask `GET /api/v1/security/explain` about another user: a holder of `manage_users`, an administrator of one of that user's organizations, or a delegated `adminScope` covering that user. One eval case asks the rename with a same-package sharing rule. The `tabPermissions` pointer to objectstack-ui `rules/navigation.md` is kept, shortened. The file pays by dropping text that is stated elsewhere, and its token ceiling moves by the measured remainder: the kernel-name list (now a reference to the placeholder table in the same file), the membership-tier list (at the linked docs anchor), the second definition of `outside-closure` / `ambiguous-in-closure` (now a reference to the queue bullet above it), and short restatements. No schema or runtime change.

‎scripts/check-skills-token-ratchet.mjs‎

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,8 +1078,24 @@ export const CEILINGS = new Map([
10781078
// § Platform-global objects. On `origin/main` the file was 15834 bytes
10791079
// (3959 tokens, headroom 0); the LANDED file is 16164 bytes -> 4041 tokens,
10801080
// ceiling +82, pinned AT the measurement, zero headroom.
1081-
// ceil($(wc -c < skills/objectstack-data/rules/security.md) / 4) == ceil(16164 / 4)
1082-
['skills/objectstack-data/rules/security.md', 4041],
1081+
// 4041 -> 4068 (card #33566, the follow-up of the position-rename paragraph):
1082+
// a renamed position's holders are the only thing the boot carry rewrites,
1083+
// so the author re-points their own source that names the old position; an
1084+
// old name recorded under another owner, a package or the environment, is
1085+
// not carried; and who may explain another user (`manage_users`, an
1086+
// administrator of one of that user's organizations, or a delegated
1087+
// `adminScope` covering that user). Same standing ruling, tap A, verbatim
1088+
// and untranslated: 「A:先削重复,余额按实测提高」 (record 6513306068). PAID
1089+
// DOWN FIRST, 313 bytes: the kernel-name list of the membership-keys bullet
1090+
// (the placeholder table in the same file), the membership-tier list (the
1091+
// linked docs anchor), the second definition of the two closure refusals
1092+
// (the queue bullet above it), four restatements of a heading or a
1093+
// neighbouring sentence, and a shorter `tabPermissions` pointer. On
1094+
// `origin/main` the file was 16164 bytes (4041 tokens, headroom 0); the
1095+
// LANDED file is 16272 bytes -> 4068 tokens, ceiling +27, pinned AT the
1096+
// measurement, zero headroom.
1097+
// ceil($(wc -c < skills/objectstack-data/rules/security.md) / 4) == ceil(16272 / 4)
1098+
['skills/objectstack-data/rules/security.md', 4068],
10831099
// 3024 -> 3109 (2026-08-31 app-repo-principles raise, see the block above).
10841100
// Severity Levels listed the three values and left the CHOICE unstated: a
10851101
// block rests on a judgement a person made, so a machine-inferred signal — a

‎skills/objectstack-data/evals/hooks-security-seeds-datasources.json‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,16 @@
210210
"must_contain": ["type: 'user'", "defaultValue: 'current_user'", "check: 'assignee == current_user.id'"],
211211
"must_not_contain": []
212212
}
213+
},
214+
{
215+
"id": 22,
216+
"prompt": "Our package `com.acme.crm` ships a position `sales_rep`, live at customers, and a sharing rule in the same package whose `sharedWith` is `{ type: 'position', value: 'sales_rep' }`. The next version must call the position `crm_sales_rep`. What changes in the package?",
217+
"expected_output": "The position becomes `{ name: 'crm_sales_rep', label: 'Sales Rep', renamedFrom: ['sales_rep'], permissionSets: [...] }`: renamed in place with `renamedFrom`, never deleted and re-added, so at boot its holders (`sys_user_position`) move to the new name in every organization. Only holders move: no other reference to the old name is rewritten, so the package's own sharing rule is re-pointed in source to `sharedWith: { type: 'position', value: 'crm_sales_rep' }`, as is any approver, queue member, policy `positions` entry or `current_user.positions` predicate in the package that names `sales_rep`. Stored references in an installed environment (recipients, pending approvers, invitations) are listed by table in the boot log for an administrator to re-point in Setup.",
218+
"files": [],
219+
"assertions": {
220+
"must_contain": ["renamedFrom: ['sales_rep']", "value: 'crm_sales_rep'"],
221+
"must_not_contain": []
222+
}
213223
}
214224
]
215225
}

‎skills/objectstack-data/rules/security.md‎

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const salesUser = definePermissionSet({
2929
(`security-anchor-high-privilege`) and the binding refuse it. With none, invited
3030
members get nothing until an admin assigns each; no gate counts them. Its
3131
`systemPermissions` may name only app capabilities declared under `capabilities:`.
32-
- `tabPermissions` hides an app from the set's holders, never gates it: objectstack-ui → Navigation.
32+
- `tabPermissions` hides an app, never gates it: objectstack-ui → Who sees or opens an app.
3333

3434
## Assigning a permission set to a user
3535

@@ -47,14 +47,16 @@ index (none on `driver-memory`) holds grants naming no package to one per user,
4747
organization. Name `permission_set_package` on insert when two packages hold the name, or
4848
the grant is refused `409 RESOURCE_CONFLICT`, naming each holder.
4949

50-
Assignment is one `POST /api/v1/data/sys_user_permission_set`. Only a tenant admin —
51-
or a delegated `adminScope` carrying `manageAssignments` for that set and user
52-
— may write it; plain CRUD bits on the table are not enough.
50+
Only a tenant admin — or a delegated `adminScope` carrying `manageAssignments`
51+
for that set and user — may `POST /api/v1/data/sys_user_permission_set`; plain
52+
CRUD bits on the table are not enough.
5353

5454
**Grant looks inert?** Check in order: the set is switched off; the validity
5555
window has passed; `organization_id` mismatch.
5656
`GET /api/v1/security/explain?object=&operation=&userId=` answers from the
57-
enforcing code path.
57+
enforcing code path. Explaining another user takes `manage_users`,
58+
administering one of their organizations, or a delegated `adminScope` covering
59+
them.
5860

5961
## Row-Level Security (RLS)
6062

@@ -75,7 +77,6 @@ none applies the policies restrict nothing — an
7577
`select` policies.
7678

7779
```typescript
78-
// in a permission set
7980
rowLevelSecurity: [
8081
{
8182
name: 'own_records',
@@ -119,8 +120,6 @@ traversal or subqueries — those are a compile error (ADR-0055), never silently
119120

120121
## Membership keys — a `current_user.KEY` set the roster object declares
121122

122-
Declare the set on the **roster** object, not one policy per record.
123-
124123
<!-- os:check -->
125124
```typescript
126125
import { ObjectSchema } from '@objectstack/spec/data';
@@ -157,9 +156,8 @@ rowLevelSecurity: [
157156
- With `id` the set is the ids of the caller's own roster rows; it grants
158157
nothing by itself. Tested against a column not referencing the roster, or another
159158
object's `id`, it is refused (`rls-predicate-membership-key-target`).
160-
- One name per stack: a key on two objects, a kernel name (`id`,
161-
`organization_id`, `positions`, `org_user_ids`, `accessible_org_ids`,
162-
`email`, `queues`) and a key on an object extension are refused.
159+
- One name per stack: a key on two objects, a kernel name (a fixed
160+
placeholder above, `accessible_org_ids`) and a key on an object extension are refused.
163161
- Read once per request as a system read in the caller's organization, at
164162
most 1,000 values; more, a failed read or a
165163
`filter` that does not compile matches **no rows**. Whoever writes roster
@@ -184,20 +182,18 @@ rowLevelSecurity: [
184182
- A position distributes **only** the sets its `permissionSets` names
185183
(ADR-0131 D3/D4): `{ name: 'crm_sales_rep', label: 'Sales Rep', permissionSets:
186184
['crm_sales_user'] }`. A set that merely shares the position's name is reported,
187-
never granted; a name matching no set, or refused below, confers nothing.
185+
never granted; a name matching no set confers nothing.
188186
- A package's position reads each name as its package's set, else the one holder
189187
in its declared `dependencies` closure plus `sys`; else it is refused. It
190188
still loads; the boot's catalog reference report logs each refusal with every
191189
candidate, and the position grants nothing through that name (its other sets
192-
still do). `outside-closure`: only a non-dependency holds it or only the
193-
environment (a set authored in Setup). `ambiguous-in-closure`: two holders
194-
it reaches (a second package shipping a name is refused at install). Fix:
195-
declare the dependency. Stored grants,
190+
still do). `outside-closure` / `ambiguous-in-closure` as for a queue above
191+
(the environment: a set authored in Setup; a second package shipping a name
192+
is refused at install). Fix: declare the dependency. Stored grants,
196193
environment-authored positions, admin overlays of a package position and the
197194
`everyone`/`guest` anchors resolve environment-wide.
198195
- A portal or partner user is an organization member on the `external`
199-
membership tier (closed list `owner`, `admin`, `delegated_admin`, `member`,
200-
`external`, one per member —
196+
membership tier (one per member —
201197
https://objectstack.ai/docs/permissions/authentication#membership-tiers-are-a-closed-list).
202198
The `everyone` baseline does not reach it, it sees no
203199
member directory and holds no business unit, and every org-wide default is
@@ -328,7 +324,11 @@ what changed and what an administrator re-checks after upgrading.
328324
**Renaming a position:** declare `renamedFrom: ['old_name']` on the renamed
329325
position, never delete and re-add (holders lose its sets). At boot its
330326
holders (`sys_user_position`) move to the new name in every organization,
331-
idempotently. Only holders: the boot log lists other references (sharing,
332-
queue and share recipients, pending approvers, invitations) for an admin. Not
333-
carried (warned): an old name still a position anywhere, claimed twice,
334-
recorded under another package, switched off, or a disabled claimant.
327+
idempotently. Only holders: no other reference to the old name is rewritten,
328+
Setup-authored ones included. Re-point your own source naming the old one: a
329+
`type: 'position'` sharing recipient, queue member or approver, a policy's
330+
`positions`, a `current_user.positions` predicate. The boot log lists stored
331+
references by table (sharing, queue and share recipients, pending approvers,
332+
invitations) for an admin. Not carried (warned): an old name still a position anywhere,
333+
claimed twice, recorded under another owner (a package or the environment),
334+
switched off, or a disabled claimant.

0 commit comments

Comments
 (0)