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
analytics: a where path whose second relationship hop is no field answers 403 naming a synthesized join alias, where a one-hop miss answers 400 INVALID_FIELD #38253
Filing gate: ① (product defect, reach measured) · Source: fleet. This is the "also seen" row of #35543 that its PR #38218 does not deliver (that PR fixes the empty/blank key only, as the card's Expected section asks). The #35543 dev measured it before and after that PR.
What happens
Admin, stock showcase, before and after PR #38218:
POST /api/v1/analytics/query{"cube":"showcase_invoice","measures":["showcase_invoice.count"],"where":{"account.a.b.c.d":"z"}} answers 403 PERMISSION_DENIED: reading "account__a" is not permitted for this user.
Control: the 2-hop account.nope answers 400 INVALID_FIELD naming showcase_account.
A multi-hop path whose second hop is not a field reaches the field-read gate as a synthesized join alias (account__a), not the relationship-column existence refusal. Source: os-dev-report 7236169796 on #35543, out_of_scope_findings[0].
Expected
A where relationship path with a hop that names no field answers 400 INVALID_FIELD on every analytics door (/analytics/query, /analytics/dataset/query, MCP query_dataset), naming the object and the hop, as the one-hop miss does and as /data answers. The answer never names an internal alias, and nothing reaches the database. A caller-named non-column expression keeps the #21156 shape-gate 403.
Business reason
A dashboard author with a typo in a deep relationship path is told they lack permission, and is shown an internal alias, instead of being told which field does not exist. That sends them to an admin for a grant that would not help.
Reader who acts
An area:data seat. The landing point is the where-path resolution in packages/services/service-analytics/src/analytics-service.ts (assertWhereFields, the relationship-hop existence check) before the field-read gate.
Closed as duplicate · folded into the area:data sweep card #35765 (row comment posted this round). Triage: area:data · domain:server · Bug · p3 · size S. A where path whose second hop names no field answers 403 with an internal alias instead of 400 INVALID_FIELD. That is Impeded × rare ⇒ p3, and small, so it meets sweep admission. Its blocker, PR #38218, has merged. This card's body stays the detail for the row.
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t
Closed as duplicate · folded into the area:data sweep card #35765 (row comment posted this round). Triage: area:data · domain:server · Bug · p3 · size S. A
wherepath whose second hop names no field answers 403 with an internal alias instead of 400INVALID_FIELD. That is Impeded × rare ⇒ p3, and small, so it meets sweep admission. Its blocker, PR #38218, has merged. This card's body stays the detail for the row.Recorded 2026-11-28T14:19Z.