You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 70db6d0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(plugin-auth): the SSO delete-revoke names the grant's organization as its tenant
The grant removal on deleting an SSO group mapping now carries the system
context with the grant's organization as tenant, as the sign-in's own grant
writes do. The tenant-audit census and its page are recounted for the new
write site.
Co-authored-by: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ADHkmNwrm1hJ9e7eLARM7n
Copy file name to clipboardExpand all lines: content/docs/permissions/tenant-audit-census.mdx
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ are reported as `undecidable` rather than assumed either way.
132
132
133
133
The same holds twice over for the context. An options argument spelled as a
134
134
literal can be read; one spelled `options`, `{ ...opts }`, or handed through a
135
-
forwarding shim cannot, and **57 of the 275 sites are spelled that way**. A
135
+
forwarding shim cannot, and **57 of the 276 sites are spelled that way**. A
136
136
context resolved from an inline literal or a local `const` can be tested for
137
137
`isSystem`; one arriving from a helper call cannot.
138
138
@@ -197,10 +197,10 @@ reproduce them. Where it disagrees, it disagrees on the page:
197
197
198
198
| carried figure | where it survives | this census |
199
199
| :--- | :--- | ---: |
200
-
| 175 write call sites | quoted in the merged changeset |**275**|
200
+
| 175 write call sites | quoted in the merged changeset |**276**|
201
201
| 24 carrying no tenant context | quoted in the merged changeset |**3** provable and tenancy-enabled; **30** more whose options argument is unreadable |
202
-
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card |**195 of 275** decidable, **80** undecidable |
203
-
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 152 decidably elevated, 0 decidably not, 113 undecidable |
202
+
| 127 of 175 statically decidable, 48 runtime-parameter-name sites | restated on the `isSystem`-scoping card |**196 of 276** decidable, **80** undecidable |
203
+
| 135 (77%) silenced by the `isSystem` guard before the posture gate | the lost issue body — **no surviving corroboration**|**not reproduced**: 153 decidably elevated, 0 decidably not, 113 undecidable |
204
204
| 141 and 132, two independent re-derivations | the card that filed this work | — |
205
205
206
206
**The differences are not reconciled, and deliberately so.** The old census's
@@ -211,17 +211,17 @@ at any commit.
211
211
212
212
Two structural facts do plausibly widen this reading against any hand or regex
213
213
one, and both are counted in the generated tables below: the 62 sites reached
214
-
through an erased (`any`) receiver, and the 71 that name their object through a
214
+
through an erased (`any`) receiver, and the 72 that name their object through a
215
215
`const` rather than inline. An instrument that read either the way a person does
216
216
would report a smaller number and would not say so.
217
217
218
218
The fourth row is the one worth flagging to anyone citing it. **The 135 / 77%
219
219
figure has no surviving corroboration anywhere in the tree.** This census reads
220
-
152 of 275 (55%) as decidably elevated, with 113 more whose elevation is a
220
+
153 of 276 (55%) as decidably elevated, with 113 more whose elevation is a
221
221
run-time fact — so the claim is neither confirmed nor refuted, and the honest
222
222
answer is that a static reading cannot settle it.
223
223
224
-
⇒ **Cite `3 / 275`, and say what it is**: the sites whose options argument was
224
+
⇒ **Cite `3 / 276`, and say what it is**: the sites whose options argument was
225
225
READ and holds no tenant context, against a decidably tenancy-enabled object.
226
226
That is the control's provable yield surface. ⛔ Do not cite it as "the sites
227
227
without tenant context" — **30 further sites** have an options argument this
@@ -233,29 +233,29 @@ cannot read, and they are neither in nor out.
233
233
234
234
| what | count |
235
235
| :--- | ---: |
236
-
| write call sites on the application surface |**275**|
237
-
| …whose object name is statically decidable |195|
236
+
| write call sites on the application surface |**276**|
237
+
| …whose object name is statically decidable |196|
238
238
| …whose object name is chosen at run time | 80 |
239
-
| …against an object with tenancy ENABLED |189|
239
+
| …against an object with tenancy ENABLED |190|
240
240
| …against an object that declares tenancy off | 6 |
241
-
| threading a tenant context |208|
241
+
| threading a tenant context |209|
242
242
| PROVABLY carrying none (options read, no context key) |**10**|
243
243
| …of those, against a decidably tenancy-enabled object |**3**|
244
244
| options argument UNREADABLE — may or may not carry one | 57 |
245
245
| …of those, against a decidably tenancy-enabled object | 30 |
246
-
| threading a decidably ELEVATED (`isSystem`) context |152|
246
+
| threading a decidably ELEVATED (`isSystem`) context |153|
247
247
| threading a context that is decidably NOT elevated | 0 |
248
248
| threading a context whose elevation is a run-time fact | 113 |
249
249
250
250
| how the instrument reached the site | count |
251
251
| :--- | ---: |
252
-
| receiver carried a readable engine type |213|
252
+
| receiver carried a readable engine type |214|
253
253
| receiver erased, placed by the object NAME | 52 |
254
254
| receiver erased, placed by an `object: string` PARAMETER | 5 |
255
255
| receiver erased, placed by an `UNTYPED_RECEIVERS` row | 5 |
256
256
257
257
| object name spelled inline | 124 |
258
-
| object name spelled through a `const`|71|
258
+
| object name spelled through a `const`|72|
259
259
| object name is an `object: string` parameter | 7 |
260
260
| object name is some other run-time expression | 73 |
261
261
@@ -307,12 +307,12 @@ holds still. They are required to be HERE and to say WHEN they were true;
307
307
their values are not compared. The reasoning, and the measurement behind it,
308
308
are in `scripts/check-tenant-audit-census.mjs`.
309
309
310
-
Measured on 2026-11-08 at `fe3aea79c`.
310
+
Measured on 2026-11-08 at `da13e5987`.
311
311
312
312
| corpus scale (not enforced) | count |
313
313
| :--- | ---: |
314
-
| tracked non-test sources scanned |1063|
315
-
| engine-shaped types recognised |114|
314
+
| tracked non-test sources scanned |1068|
315
+
| engine-shaped types recognised |115|
316
316
| declared objects in the registry | 132 |
317
317
| same-named calls subtracted as non-engine | 243 |
0 commit comments