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 (v19 major): View All / Modify All stop voting on fields — ADR-0087 conversion adds viewAllFields: true beside them, superuserFieldVote and security-superuser-field-mask-inert retire (step 3 of #34365, behaviour change) #36055
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 3, "v19 major")
Blocked-by: #36050, #36052
Grade: left to triage. Suggested p2 (the end state of the p2 security card #34365). Area: data. Type suggestion: Feature.
⛔ Behaviour change in a major. Ships only in the v19 major, and is built only after the maintainer's go-ahead through the seat (this card's parent ruling sets the end state, not the build start).
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
This is the step that fixes the defect class for good: one set's View All / Modify All will no longer re-open a field another set hides (hotcrm#2481's class). Every mainstream platform the parent card checked (Salesforce, Dataverse, ServiceNow, Odoo) keeps the record-wide bit off the field axis, and Salesforce added a separate read-only "View All Fields" for the same reason. The conversion keeps every existing app's behaviour verbatim, so no app owner loses access at upgrade.
What to build
viewAllRecords and modifyAllRecords cast no field vote: retire superuserFieldVote as a field-vote source (packages/core/src/security/effective-object-permissions.ts) in both merges (getFieldPermissions, buildEffectiveFieldPermissions), leaving viewAllFields as the only "all fields" channel. Readers of superuserFieldVote outside the merges (e.g. packages/qa/scenarios/src/score/scenario-tags.ts) move to the new reading.
One ADR-0087 mechanical conversion (packages/spec/src/conversions/entries/19/): add viewAllFields: true to every objects entry (wildcard included) that carries viewAllRecords or modifyAllRecords and does not already say viewAllFields. Behaviour kept verbatim; authors remove the bit where it isn't wanted.
One semantic upgrade-guide entry (packages/spec/src/migrations/entries/semantic/). After conversion, the only remaining behaviour change is "Modify All plus the same set's own editable: false / readable: false row" — the entry names it, and the lint that already names that case is its pointer.
Retire security-superuser-field-mask-inert (packages/lint), and re-point the cross-set warning from the step-2 lint sub-card (it no longer fires for View All / Modify All after the switch) — the PR says what that rule becomes.
Clause-②: yes · Metadata-protocol: semantic (with a mechanical conversion) · Skills-docs: line · Tier H · contract review at the required tier · full verification (! major).
Acceptance
After conversion, every fixture app's field maps are identical to before; an unconverted set with View All alone no longer reads a field another set hides.
Gates green; L1 + L2 PASS on the final head; landed by the maintainer's approval.
Triage: lands in domain:spec · pm:blocked (Blocked-by #36050, #36052); rationale: area:data · Feature · step 3 of #34365, the v19 major: View All / Modify All stop voting on fields (ADR-0087 conversion adds viewAllFields: true beside them; superuserFieldVote and security-superuser-field-mask-inert retire), closing for good the class where one set re-opens a field another hides (hotcrm#2481) → p2 (the end state of p2 #34365) · size L.
Activity
viewAllFieldsbit carries the admin channel (end state, v19) #34365objectstack-fleet commentedon Nov 21, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:spec·pm:blocked(Blocked-by #36050, #36052); rationale: area:data · Feature · step 3 of #34365, the v19 major: View All / Modify All stop voting on fields (ADR-0087 conversion addsviewAllFields: truebeside them;superuserFieldVoteandsecurity-superuser-field-mask-inertretire), closing for good the class where one set re-opens a field another hides (hotcrm#2481) → p2 (the end state of p2 #34365) · size L.objectstack-fleet commentedon Nov 24, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: unblocked 2026-11-24T22:38Z
pm:blocked→pm:queue. Both blockers are closed as completed: security: add the read-onlyviewAllFieldsobject-permission bit — spec key, both field merges, built-in admin sets, every super-user-bit reader (step 2 of #34365, additive, no behaviour change) #36050 at 2026-11-21T14:43Z and lint: warn when a permission set's View All / Modify All re-opens a field another set hides, and steer high-sensitivity fields torequiredPermissions(step 2 of #34365) #36052 at 2026-11-24T17:02Z.viewAllFieldsbit carries the admin channel (end state, v19) #34365), so its changeset is BREAKING and owes its ADR-0087 conversion.