Skip to content

Commit c493adb

Browse files
feat(plugin-auth): import-users assigns positions from a positions column (#34531)
<!-- claude-projects-attribution: {"github_login":"os-steve"} --> _Requested by **Steve** · [project thread](https://claude.ai/code/project/chan_01FdL1XeUyvVNxLreh3F4Qi9?thread=cmsg_01FdL1XeUyvVNxLreh3F4Qi93wBXqBG95NSfVqXRSzNT9n)_ Fixes #33113 Clause-②: yes (widening) Metadata-protocol: none ## 维护者速读 - 改了什么:管理员批量导入用户(`POST /api/v1/auth/admin/import-users`)新增一列 `positions`(岗位机器名,多个用 `;` 分隔),用户建好后第二遍逐个指派岗位;控制台用户导入向导多了这一列和一句列说明。 - 为什么改:按裁决 6920428750「C,只加岗位列」,托管演示组织和真实客户都能用一份 CSV 建好带岗位、带上级的人员,下游应用不再自写建账号脚本。 - 风险与回滚:只加不减,不带 `positions` 列的文件行为不变;岗位按管理员自己的权限写入,和 Setup 里指派岗位走同一套校验;回滚即还原本 PR。 - 先看:`packages/plugins/plugin-auth/src/admin-import-users.ts` 的 `assignRowPositions` 与第二遍循环;同文件 `grantBlocked` 那段(缺 seam 或管理员自身上下文解析不出时,用户照建,只把每个岗位逐行记为被拒,code 分别是 `NOT_IMPLEMENTED` / `PERMISSION_DENIED`);`auth-plugin.ts` 新增的一行 `createGrant`。 - 两分钟验证:`pnpm --filter @objectstack/plugin-auth exec vitest run src/admin-import-users-manager-pass.test.ts -t positions`,预期 13 例全绿。 - 需要你做的:无,席位落地。 ## What changes `POST /api/v1/auth/admin/import-users` admits one new column, `positions`, per the maintainer's ruling 6920428750 (verbatim: 「C,只加岗位列,p1」). - **The column.** `positions` holds position machine names, several separated by `;` (an array on a JSON row). The name and spelling are the ones `admin/import-sso-users` already reads (`packages/plugins/plugin-auth/src/pending-sso-users.ts:188` and `:590` on `main`, documented at `content/docs/permissions/authentication.mdx:1294`), so one CSV shape serves both identity import doors. Reading of the ruling: 「只加岗位列」 limits the import to this one new column; it does not limit the column to one value, since a user may hold several positions and the sibling door's column already carries a list. The cell is parsed by the one reader both doors now import (`name-list-cell.ts`, moved out of `pending-sso-users.ts` unchanged and not re-exported from the package index). - **Second pass, like `manager_id`.** The cell is stripped before the identity write and assigned after `runImport` returns, beside the manager pass, so every row of the batch exists. - **Same checks as Setup.** Each assignment is a `sys_user_position` insert through the data engine under the importing administrator's own execution context, through the `createGrant` seam create-user and the pending doors already use (`auth-plugin.ts` gains one line wiring it into this mount). The position catalog refusal, the delegated-administration gate and the grant-holder membership refusal judge it as they judge Setup's form; none is re-derived in the importer. - **Per row, the user still created.** `rows[].positions` lists each named position with `assigned`, `already_assigned` (an upserted user who already holds it; nothing written), `unresolved` (the refusal is the catalog's `fields[].field === 'position'` / `reference_not_found`) or `refused` (any other refusal, with its `code`). A cell that is not a list reads `'unreadable'`. The sentence rides `rows[].error` when free; no `rows[].code` is stamped, for the manager pass's documented reason. `summary.positions` counts `{ assigned, alreadyAssigned, unresolved, refused }`, and the run-level audit row carries the same split. The import only adds positions. - **A host that cannot judge the grant costs the positions, never the users.** When the host wires no grant seam, or the caller's own execution context does not resolve, the users are still created (`200`, the answer `main` gives the same file) and every named position is reported `refused` on its row, with code `NOT_IMPLEMENTED` (no seam) or `PERMISSION_DENIED` (no context), counted under `summary.positions.refused`; nothing is written to `sys_user_position`. Dry runs do not assign, and a dry run answers as `main` does. The open question was first read as **A** at L1 review (refuse the whole file `501` / `403` before any write; a reading, not a ruling, and withdrawn in L1 comment 6936586013) and is now **per row**, because A narrowed the same input: on `main` that file answers `200` and creates the users (see Acceptance notes, FROM). Per row is also what ruling 6920428750 says of a position that cannot be assigned. - **No permission-set column** (ADR-0090: a position carries its sets). `demoStaff` is untouched and stays development-only. - **Console.** The Users import wizard offers `positions` as a target column, and its options panel explains it (`console.identityImport.positionsHint`, added to all 11 `@object-ui/i18n` packs, as `all-locales-key-parity` requires). - **Docs.** `content/docs/permissions/authentication.mdx` › Bulk Import Users documents the column and its outcomes, including that an unreadable cell's `rows[].positions` is the string `'unreadable'` (counted under `summary.positions.unresolved`), not an array, and that positions which cannot be judged at all are refused per row (`NOT_IMPLEMENTED` / `PERMISSION_DENIED`) while the users are still created. ## Tests - `packages/plugins/plugin-auth/src/admin-import-users-manager-pass.test.ts`: the existing harness gains an optional grant seam and a `sys_user_position` insert double that refuses an unknown name the way the catalog refusal does and a denied one with `PERMISSION_DENIED` — only for non-system writes, so a system-context write would slip past it and fail the assertions. A new top-level `describe` holds 13 cases: assignment under the administrator's context after the last create; CSV `;` parsing; unresolved per row with every other row landing; refused with the code; `already_assigned` on upsert; unreadable cell; the cell never reaching `createUser`; no seam needed without the column; a **FROM control** (the file measured on `main`, on a host with no seam: `200`, both users created, `summary.errors: 0`, both rows `ok`); no seam → every named position `refused` / `NOT_IMPLEMENTED` on its row, the row without the column untouched, `summary.positions.refused: 3`, nothing written; no context → `refused` / `PERMISSION_DENIED`, the user created and `ok`; a dry run with no seam answers `200` with nothing written and no refusal; dry run assigns nothing. - `ui/packages/app-shell/src/views/__tests__/identityImportFields.emailRule-11913.test.tsx`: a new top-level `describe` pins the `positions` target column and the options-panel hint. - No existing assertion was changed. The manager-pass harness gained an optional grant seam and a `sys_user_position` double; its existing cases are untouched. ## Acceptance notes - **FROM, measured on `origin/main` d4c0c12.** `main`'s `admin-import-users.ts`, driven with a `sys_user` declaration reader and two rows carrying a non-empty `positions` cell (`sales_rep`; `sales_rep;area_manager`), answered `200`, `summary.created: 2`, `errors: 0`, both rows `ok: true` / `created`, as JSON rows and as CSV; `createUser` received only `email` and `name`. The dry run answered `200`, two rows `created`, nothing written. So on `main` the column is **silently dropped and the users are created**. Against that FROM this PR only widens: the column now assigns positions, and every input that answered `200` and created users on `main` still does. An earlier revision of this PR refused that file whole (`501` on a host with no grant seam, `403` when the caller's own context does not resolve), which narrowed the same input; that revision is withdrawn. Those two cases now create the users as `main` does and report each named position `refused` (`NOT_IMPLEMENTED` / `PERMISSION_DENIED`) on its row; the FROM control test pins the `200` and the created users. Hence `Clause-②: yes (widening)` with no `(narrowing)` arm. - Scope of the acceptance: a single-organization deployment, where an imported user is given the default organization's membership by the `user.create.after` reconciler before the position is written. In multi-organization mode `import-users` does not join the importing admin's current organization (unlike create-user), so the grant-holder membership refusal answers each position `refused` / `VALIDATION_FAILED` on its row; the user is still created. Filed: #34535. - The Console import wizard offers no `manager_id` target column today, although the endpoint has admitted it since its own ruling; filed: #34536. - The skills that teach the import are a separate `domain:skills` card, per the claim; filed: #34537. - The tenant-audit census page and its counts file move by one write call site (the new grant insert); the figures are re-measured, not edited by hand. - `already_assigned` reads an existing hold by `(user_id, position)` regardless of organization, for upserted rows only. ## Verification <details><summary>Targeted tests</summary> - `pnpm --filter @objectstack/plugin-auth exec vitest run --maxWorkers=2 src/admin-import-users-manager-pass.test.ts src/pending-sso-users.test.ts src/admin-import-users.test.ts` → `Test Files 3 passed (3)`, `Tests 151 passed (151)` (VERDICT command-exit 0, r3 head). - `pnpm --filter @objectstack/plugin-auth test` → `Test Files 280 passed (280)`, `Tests 5780 passed | 10 skipped (5790)` (r3 head). - `pnpm --filter @objectstack/plugin-auth typecheck` → exit 0; `check:test-typecheck: OK` (r3 head). - `ui`: `vitest run` of `identityImport.test.ts`, `identityImportFields.emailRule-11913.test.tsx`, `identityImport.csvBatches-13315.test.tsx` and all of `packages/i18n/` → `Test Files 105 passed (105)`, `Tests 1924 passed | 13 skipped` (VERDICT command-exit 0, r1; r3 does not touch `ui/`). The zh-Hant line is the generator's output (`node scripts/gen-zh-hant.mjs`), and the de line avoids a quote pair so the `de-quote-pairing` count pin stays as it is. - `pnpm --filter @object-ui/i18n type-check && pnpm --filter @object-ui/app-shell type-check` → VERDICT command-exit 0. </details> <details><summary>Ablations (each mutation landed on disk via scripts/ablation-replace.mjs, then restored to the HEAD blob)</summary> 1. (r1) Assignment written under `SYSTEM_CTX` instead of the administrator's context → 3 cases red (the context assertion and the two refusal cases, since the checks stand down for system writes). 2. (r1) Second pass skipped → 6 red. 3. (r3) The withdrawn whole-file refusal restored (an early `return fail(501, 'NOT_IMPLEMENTED', …)` when the file names positions and no seam is wired) → 2 red: the FROM control and the per-row `NOT_IMPLEMENTED` case. 4. (r3) The per-row refusal branch disabled (`if (grantBlocked && false)`) → 2 red: the `NOT_IMPLEMENTED` and `PERMISSION_DENIED` cases. </details> <details><summary>Derived gates</summary> `node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` derived 111 commands on head d3c32ee (r1), on the r2 head d69957c, and on the r3 head 987b7e7 (after the per-row change and a merge of `main`; `packages/spec` was rebuilt first because the merge moved its sources); each was run with stdin closed and its exit captured before any pipe: all 111 exit 0 on each head. On r3, `pnpm --dir ui exec vitest run scripts/` first exited 1 on one 15 s test timeout (`check-i18n-call-site-keys.test.ts` › main passes exactly the arguments…) while the plugin-auth full suite shared the box; the file alone then passed 152/152, and the whole family re-run on an idle box exited 0, which is the exit recorded. `--ran` reconciliation on each head: `111 derived, 111 run, 0 NOT-MEASURED, 0 UNRUN`. `check:tenant-audit-census` first read the new `sys_user_position` insert as one more engine write call site (321 → 322); the generated tables were rewritten with `node scripts/tenant-audit-census.mjs --write` and the page's hand-written figures moved by one in the same commit (`content/docs/permissions/tenant-audit-census.mdx`, `docs/audits/2026-08-tenant-audit-write-call-sites.counts.md`). Every family CI runs is read from this PR's check runs. </details> <!-- signed: repo:objectstack#2 · os-steve · session_01ADHkmRXuRn93HphKp7kXEz --> --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8dd8192 commit c493adb

22 files changed

Lines changed: 659 additions & 45 deletions
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'@objectstack/plugin-auth': patch
3+
'@object-ui/app-shell': patch
4+
'@object-ui/i18n': patch
5+
---
6+
7+
feat(plugin-auth): `POST /api/v1/auth/admin/import-users` takes a `positions` column, assigned in a second pass as Setup assigns a position
8+
9+
Clause-②: yes (widening)
10+
Metadata-protocol: none
11+
12+
The user import gains one column, `positions`: position machine names, several separated by `;` (or an array on a JSON row) — the same column `admin/import-sso-users` reads. Nothing that worked before is refused: a file with no `positions` column imports exactly as before.
13+
14+
- Each named position is assigned after every row of the batch has landed, as a `sys_user_position` grant written under the importing administrator's own execution context, so it passes the same checks as assigning a position in Setup (the position catalog, delegated administration, the holder's organization membership).
15+
- A position that does not exist (`unresolved`) or whose assignment is refused (`refused`, with the refusal's `code`) is reported on its row, and the user is still created. `rows[].positions` lists each named position's outcome (`assigned`, `already_assigned`, `unresolved`, `refused`), a cell that is not a list reads `'unreadable'`, and `summary.positions` counts them. The import only adds positions; it never removes one.
16+
- When the positions cannot be judged at all, the users are still created and every named position is reported `refused` on its row: `NOT_IMPLEMENTED` on a server that cannot assign positions during an import, `PERMISSION_DENIED` when the caller's own access does not resolve. Dry runs do not assign.
17+
- There is no permission-set column: a position carries its permission sets.
18+
19+
`@object-ui/app-shell`: the Users import wizard offers a `positions` target column, and its options panel explains the column (`console.identityImport.positionsHint`, in every `@object-ui/i18n` pack).

‎content/docs/permissions/authentication.mdx‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1269,6 +1269,29 @@ every row through better-auth so the accounts are login-capable:
12691269
updates only touch profile fields (`name`, `image`, `phone_number`, `role`)
12701270
— a re-imported file can never modify an existing user's email or reset
12711271
their password.
1272+
- A `positions` column assigns positions: position machine names, several
1273+
separated by `;` (an array on a JSON row) — the same column
1274+
`import-sso-users` reads. Each is assigned after every row has landed, as a
1275+
`sys_user_position` grant written under the importing admin's own access,
1276+
so it passes the checks Setup applies when you assign a position there (the
1277+
position must exist, and you must be allowed to assign it). A position that
1278+
does not exist or is refused is reported on its row and the user is still
1279+
created: `rows[].positions` is an array with one entry per named position
1280+
and its outcome (`assigned`, `already_assigned`, `unresolved`, or `refused`
1281+
with the refusal's `code`), and `summary.positions` counts them. A cell that
1282+
is not a list of names (a number or an object on a JSON row) assigns
1283+
nothing, and that row's `rows[].positions` is the **string**
1284+
`'unreadable'`, not an array — check for it before reading the entries. It
1285+
counts once under `summary.positions.unresolved`, and the user is still
1286+
created. The import only adds positions; it never removes one a user holds.
1287+
Permission sets come with the position (a position carries its sets); a
1288+
direct grant stays a Setup step.
1289+
- When a file's positions cannot be judged at all, the users are still
1290+
created and only the positions are refused: every named position is
1291+
reported `refused` on its row, with code `NOT_IMPLEMENTED` when the server
1292+
cannot assign positions during an import, or `PERMISSION_DENIED` when your
1293+
own access cannot be resolved. A dry run never assigns positions, and
1294+
reports `summary.positions` as zeros.
12721295
- Synchronous only, at most 500 rows per request (password hashing is
12731296
CPU-bound); split larger files into batches. Imports are not undoable.
12741297

‎content/docs/permissions/tenant-audit-census.mdx‎

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ what moved this page's population from 225 to 227; nothing about the two sites
9393
changed, only whether this instrument could see them.
9494

9595
**The expensive failure direction is a keyword.** Sites whose receiver the author
96-
typed `any` have no type to read, and there are 66 of them — just over a fifth
96+
typed `any` have no type to read, and there are 67 of them — just over a fifth
9797
of the population, concentrated in exactly the seed and bootstrap paths this
9898
control exists for. Scoring an unreadable receiver as "not an engine" would have
9999
dropped every one of them silently, with a clean exit and a smaller number that
@@ -132,7 +132,7 @@ are reported as `undecidable` rather than assumed either way.
132132

133133
The same holds twice over for the context. An options argument spelled as a
134134
literal can be read; one spelled `options`, `{ ...opts }`, or handed through a
135-
forwarding shim cannot, and **59 of the 321 sites are spelled that way**. A
135+
forwarding shim cannot, and **59 of the 322 sites are spelled that way**. A
136136
context resolved from an inline literal or a local `const` can be tested for
137137
`isSystem`; one arriving from a helper call cannot.
138138

@@ -197,10 +197,10 @@ reproduce them. Where it disagrees, it disagrees on the page:
197197

198198
| carried figure | where it survives | this census |
199199
| :--- | :--- | ---: |
200-
| 175 write call sites | quoted in the merged changeset | **321** |
200+
| 175 write call sites | quoted in the merged changeset | **322** |
201201
| 24 carrying no tenant context | quoted in the merged changeset | **3** provable and tenancy-enabled; **32** more whose options argument is unreadable |
202-
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card | **226 of 321** decidable, **95** undecidable |
203-
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration** | **not reproduced**: 181 decidably elevated, 0 decidably not, 128 undecidable |
202+
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card | **227 of 322** decidable, **95** undecidable |
203+
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration** | **not reproduced**: 181 decidably elevated, 0 decidably not, 129 undecidable |
204204
| 141 and 132, two independent re-derivations | the card that filed this work | — |
205205

206206
**The differences are not reconciled, and deliberately so.** The old census's
@@ -210,18 +210,18 @@ be stated is what this instrument counts, which is written above and re-runnable
210210
at any commit.
211211

212212
Two structural facts do plausibly widen this reading against any hand or regex
213-
one, and both are counted in the generated tables below: the 66 sites reached
213+
one, and both are counted in the generated tables below: the 67 sites reached
214214
through an erased (`any`) receiver, and the 86 that name their object through a
215215
`const` rather than inline. An instrument that read either the way a person does
216216
would report a smaller number and would not say so.
217217

218218
The fourth row is the one worth flagging to anyone citing it. **The 135 / 77%
219219
figure has no surviving corroboration anywhere in the tree.** This census reads
220-
181 of 321 (56%) as decidably elevated, with 128 more whose elevation is a
220+
181 of 322 (56%) as decidably elevated, with 129 more whose elevation is a
221221
run-time fact — so the claim is neither confirmed nor refuted, and the honest
222222
answer is that a static reading cannot settle it.
223223

224-
⇒ **Cite `3 / 321`, and say what it is**: the sites whose options argument was
224+
⇒ **Cite `3 / 322`, and say what it is**: the sites whose options argument was
225225
READ and holds no tenant context, against a decidably tenancy-enabled object.
226226
That is the control's provable yield surface. ⛔ Do not cite it as "the sites
227227
without tenant context" — **32 further sites** have an options argument this
@@ -233,28 +233,28 @@ cannot read, and they are neither in nor out.
233233

234234
| what | count |
235235
| :--- | ---: |
236-
| write call sites on the application surface | **321** |
237-
| …whose object name is statically decidable | 226 |
236+
| write call sites on the application surface | **322** |
237+
| …whose object name is statically decidable | 227 |
238238
| …whose object name is chosen at run time | 95 |
239-
| …against an object with tenancy ENABLED | 219 |
239+
| …against an object with tenancy ENABLED | 220 |
240240
| …against an object that declares tenancy off | 7 |
241-
| threading a tenant context | 250 |
241+
| threading a tenant context | 251 |
242242
| PROVABLY carrying none (options read, no context key) | **12** |
243243
| …of those, against a decidably tenancy-enabled object | **3** |
244244
| options argument UNREADABLE — may or may not carry one | 59 |
245245
| …of those, against a decidably tenancy-enabled object | 32 |
246246
| threading a decidably ELEVATED (`isSystem`) context | 181 |
247247
| threading a context that is decidably NOT elevated | 0 |
248-
| threading a context whose elevation is a run-time fact | 128 |
248+
| threading a context whose elevation is a run-time fact | 129 |
249249

250250
| how the instrument reached the site | count |
251251
| :--- | ---: |
252252
| receiver carried a readable engine type | 255 |
253-
| receiver erased, placed by the object NAME | 56 |
253+
| receiver erased, placed by the object NAME | 57 |
254254
| receiver erased, placed by an `object: string` PARAMETER | 5 |
255255
| receiver erased, placed by an `UNTYPED_RECEIVERS` row | 5 |
256256

257-
| object name spelled inline | 140 |
257+
| object name spelled inline | 141 |
258258
| object name spelled through a `const` | 86 |
259259
| object name is an `object: string` parameter | 10 |
260260
| object name is some other run-time expression | 85 |
@@ -307,13 +307,13 @@ holds still. They are required to be HERE and to say WHEN they were true;
307307
their values are not compared. The reasoning, and the measurement behind it,
308308
are in `scripts/check-tenant-audit-census.mjs`.
309309

310-
Measured on 2026-11-15 at `2ab05f460`.
310+
Measured on 2026-11-16 at `94cb58c3d`.
311311

312312
| corpus scale (not enforced) | count |
313313
| :--- | ---: |
314-
| tracked non-test sources scanned | 1176 |
315-
| engine-shaped types recognised | 141 |
314+
| tracked non-test sources scanned | 1186 |
315+
| engine-shaped types recognised | 142 |
316316
| declared objects in the registry | 137 |
317-
| same-named calls subtracted as non-engine | 311 |
317+
| same-named calls subtracted as non-engine | 323 |
318318

319319
{/* END GENERATED: tenant-audit-census */}

‎docs/audits/2026-08-tenant-audit-write-call-sites.counts.md‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,19 @@ silent, and `node scripts/tenant-audit-census.mjs --write` is the resolution.
3333

3434
| Measure | Value |
3535
|---|---:|
36-
| Write call sites | 321 |
37-
| Object name statically decidable | 226 |
36+
| Write call sites | 322 |
37+
| Object name statically decidable | 227 |
3838
| Object name chosen at run time | 95 |
39-
| Against a tenancy-enabled object | 219 |
39+
| Against a tenancy-enabled object | 220 |
4040
| Against an object declaring tenancy off | 7 |
41-
| Threading a tenant context | 250 |
41+
| Threading a tenant context | 251 |
4242
| Provably carrying none | 12 |
4343
| …and decidably tenancy-enabled | 3 |
4444
| Options argument unreadable | 59 |
4545
| …and decidably tenancy-enabled | 32 |
4646
| Threading a decidably elevated context | 181 |
4747
| Threading a decidably non-elevated context | 0 |
48-
| Threading a context of undecidable elevation | 128 |
48+
| Threading a context of undecidable elevation | 129 |
4949

5050
## Subtractions the census could NOT defend — enforced
5151

@@ -90,14 +90,14 @@ holds still. They are required to be HERE and to say WHEN they were true;
9090
their values are not compared. The reasoning, and the measurement behind it,
9191
are in `scripts/check-tenant-audit-census.mjs`.
9292

93-
Measured on 2026-11-15 at `2ab05f460`.
93+
Measured on 2026-11-16 at `94cb58c3d`.
9494

9595
| corpus scale (not enforced) | count |
9696
| :--- | ---: |
97-
| tracked non-test sources scanned | 1176 |
98-
| engine-shaped types recognised | 141 |
97+
| tracked non-test sources scanned | 1186 |
98+
| engine-shaped types recognised | 142 |
9999
| declared objects in the registry | 137 |
100-
| same-named calls subtracted as non-engine | 311 |
100+
| same-named calls subtracted as non-engine | 323 |
101101

102102
## Every site
103103

@@ -138,6 +138,7 @@ Measured on 2026-11-15 at `2ab05f460`.
138138
| `packages/plugins/plugin-audit/src/stored-metadata-body-migration.ts` | `update` | `object` | undecidable | elevated | 1 |
139139
| `packages/plugins/plugin-auth/src/admin-import-users.ts` | `insert` | `sys_audit_log` | enabled | options unreadable | 1 |
140140
| `packages/plugins/plugin-auth/src/admin-import-users.ts` | `update` | `sys_user` | enabled | options unreadable | 2 |
141+
| `packages/plugins/plugin-auth/src/admin-import-users.ts` | `insert` | `sys_user_position` | enabled | context, elevation undecidable | 1 |
141142
| `packages/plugins/plugin-auth/src/admin-set-user-manager.ts` | `update` | `sys_user` | enabled | context, elevation undecidable | 1 |
142143
| `packages/plugins/plugin-auth/src/admin-user-endpoints.ts` | `insert` | `sys_audit_log` | enabled | elevated | 1 |
143144
| `packages/plugins/plugin-auth/src/admin-user-endpoints.ts` | `update` | `sys_user` | enabled | elevated | 1 |

0 commit comments

Comments
 (0)