Commit a634218
committed
docs(rest): state the direction the read predicate rules on at the /published door
The `GET /meta/:type/:name/published` handler's comment argued that passing
the RAW tenant "is right for a READ" because `getMetaItemLayered`'s overlay
lookup is org-scoped-first then env-wide, so "nothing that resolves today
stops resolving". That fail-open direction is precisely the reasoning
`organizationIdForMetaRead` was written to refute: an org named on a type the
registry does not declare per-org overridable resurrects the phantom rows
#6190 stopped minting.
Since #14907 the callee gates: `getMetaItemLayered` resolves
`organizationIdForMetaRead` itself, AFTER its canonical fold. So the raw
tenant is correct here for a different reason than the one stated, and this
door must NOT pre-gate — `req.params.type` is unfolded, and gating on it is
the #10340 defect.
Because the old prose read as a deliberate, reasoned decision to gate, two
successive enumerations in the same series recorded this door as already
gating when it does not. The `#8805` half above is untouched and still true.
Comment-only and line-count-neutral: 8 comment lines out, 8 in, no
executable change, so the absolute-line anchors in
`content/docs/permissions/system-context.mdx` cannot move.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YFY46JydE1gMxQG1TqBcMZ1 parent d1c86a7 commit a634218
1 file changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8205 | 8205 | | |
8206 | 8206 | | |
8207 | 8207 | | |
8208 | | - | |
8209 | | - | |
8210 | | - | |
8211 | | - | |
8212 | | - | |
8213 | | - | |
8214 | | - | |
8215 | | - | |
| 8208 | + | |
| 8209 | + | |
| 8210 | + | |
| 8211 | + | |
| 8212 | + | |
| 8213 | + | |
| 8214 | + | |
| 8215 | + | |
8216 | 8216 | | |
8217 | 8217 | | |
8218 | 8218 | | |
| |||
0 commit comments