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 94ee3ea
Browse filesBrowse the repository at this point in the historyBrowse files
test(security): satisfy the gates the effective-access read reaches
The effective-access test's fake engine routes findOne through
assertEngineFindOnePredicate and the pinned ledger records it; the REST
door's test pays the objectql load at collection; the system-context page
names mayDescribeAnotherUser on the row that owns the explain gate, now
that both reads ask it.
Claude-Session: https://claude.ai/code/session_01FEkQ5kUXrK37qc2vkfEHQ4
Co-authored-by: Claude <noreply@anthropic.com>
| 8 | Metadata-plane schema masking exempt (ADR-0106 D4) | metadata-core | Get: unmasked object schema. Note: the exemption is a **caller** property — it short-circuits before the security service is consulted |`isObjectSchemaMaskExempt`|
113
113
| 8b | Authoring-trail reads admitted | rest, runtime | Get: a metadata item's version history, audit rows and stored-version diff (`GET /meta/:type/:name/history`, `/audit`, `/diff`) without `studio.access` or `manage_metadata`, and a package's commit timeline (`GET /packages/:id/commits`) without `studio.access`. Note: narrower than the schema-mask exemption the draft switches ask (`isObjectSchemaMaskExempt`): neither door admits `setup.access`, which organization admins hold |`mayReadAuthoringTrail`, `requireCommitTrailReadCapability`|
114
-
| 9 |`explain()` may target a principal other than the caller | plugin-security | Get: no `manage_users` / delegated-admin check |`explainAccessForCaller`|
114
+
| 9 |`explain()`and the effective-access read (`describeEffectiveAccess`) may target a principal other than the caller | plugin-security | Get: no `manage_users` / delegated-admin check — both reads ask the one caller gate |`explainAccessForCaller`, `mayDescribeAnotherUser`|
115
115
| 9b | The master-detail write check the `security` service serves (`checkControlledByParentWrite`, ADR-0055) answers `allow`| plugin-security | Get: `allow` for any record, with no master judged — the write path's own first exit, so a gate composing it admits exactly what the record's own system-context update would. Lose: nothing a caller reaches today: its two consumers, the `sys_attachment` and `sys_comment` parent gates, return before they ask for a system session |`checkControlledByParentWrite`|
116
116
| 10 | Anonymous-deny treats the caller as authenticated | core | Get: passes the 401 seam with no `userId`|`shouldDenyAnonymous`|
0 commit comments