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
security: os explain names the channel that opened a field — own row, another set's row, the default, View All, Modify All or viewAllFields (step 2 of #34365, additive) #36051
Filing gate: ④ sub-card of the ruled decision #34365 (ruling 6912661484, verbatim 「同意,立决策卡」; implementation cards are cut after PR #34082, merged 2026-11-16T21:40Z) · Source: topic #34365
Parent: #34365 (step 2)
Blocked-by: #36050
Grade: left to triage. Suggested p2 (a step of the p2 security card #34365). Area: data. Type suggestion: Feature.
Dedupe: repo:objectstack-ai/objectstack is:issue viewAllFields → 3 hits: #34365 (the parent), #33828 (closed), #6015 (triage seat post). No card covers this step.
Business reason
When a field is readable that an author meant to hide, the author's first question is "which permission set opened it, and why". Today the answer needs reading the merge code: one set's View All / Modify All re-opening a field another set hides is invisible in the explanation. The ruled path (#34365 step 2) asks os explain to name the channel, so authors can find and fix the over-grant before the v19 switch, and see what the switch will change for them.
What to build
The access explanation (packages/plugins/plugin-security/src/explain-engine.ts, its output shape in packages/spec/src/security/explain.zod.ts, and the CLI packages/cli/src/commands/explain.ts) says, per field the merge decides, which channel cast the winning read and edit vote: the set's own row, another set's row, the default (no set names the field), View All, Modify All, or viewAllFields — and the set's name.
Read-only: explanation only, no enforcement change.
Additive to the explain output shape (new optional keys); existing consumers keep parsing.
Declarations the PR owes
Clause-②: yes if the explain output schema gains keys; Metadata-protocol: none (no authorable key). Contract review owed if packages/spec/src/** changes.
Acceptance
A test with two sets — one hiding obj.f, one holding View All on obj — shows the explanation naming View All on the second set as the channel that opened obj.f; same for Modify All and viewAllFields.
Gates green; L1 (+ L2 if the spec shape changes) PASS on the final head.
Triage: lands in domain:devx (os explain) · pm:blocked (Blocked-by #36050); rationale: area:data · Feature · step 2 of #34365: os explain names the channel that opened a field (own row, another set, the default, View All, Modify All, viewAllFields); additive → p2 (a step of p2 #34365) · size S.
Activity
viewAllFieldsbit carries the admin channel (end state, v19) #34365objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:devx(os explain) ·pm:blocked(Blocked-by #36050); rationale: area:data · Feature · step 2 of #34365:os explainnames the channel that opened a field (own row, another set, the default, View All, Modify All,viewAllFields); additive → p2 (a step of p2 #34365) · size S.objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
2026-11-21T14:49Z · Unblocked: its only
Blocked-by:#36050 is closed as completed.pm:blocked→pm:queue; grade p2 and lane unchanged.feat(security): add the read-only viewAllFields object-permission bit (…