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
Export on by default when a view declares no exportOptions #39475
Ruled on #39409 item 2 (maintainer, 2026-12-04T01:30Z, option A of the analysis in #39409 (comment)): list views offer import but no export.
Ask
Export is on by default when a view declares no exportOptions; the allowExport grant stays the permission wall. Metadata-protocol: semantic (changeset and upgrade note owed). Details and boundary conditions as in the analysis.
Claim: PM loop round 2 · 2026-12-04T01:44Z
Session: session_016WV4d1cnRvyiAqrarmDhZV
Account: os-elon-musk
Area: em-admin
Branch: claude/issue-39475-wip
Worktree: objectstack-issue-39475
Domain: domain:ui
Seat: repo:objectstack@os-elon-musk
File surface: packages/spec/src/ui/list-view-export-options.ts, ui/packages/core/src/utils/affordanceGrants.ts, ui/packages/plugin-list/src/ListView.tsx, ui/packages/plugin-grid/src/ObjectGrid.tsx, ui/packages/app-shell/src/views/ObjectView.tsx, content/docs/ui/components/plugins.mdx, the upgrade note the semantic change owes, new test files named for this card. Stop on any other breach and explain in the report.
Container & model: M, mode:subagent, model: default (dispatch-gates --tier at 55d673c6: "no path-derived mandate"), effort: high (M card, cross-package default change)
Clause-②: no
Metadata-protocol: semantic
Responsibility: platform list views; every admin and user on a view with no exportOptions reaches it (import offered, export not).
Thread-read: none
Premise: per the analysis 7397854343 on #39409 (option A, ruled by the maintainer 2026-12-04T01:30Z): export on by default when a view declares no exportOptions; allowExport stays the permission wall.
Pre-claim lane: zone em-admin (ui tree); out-of-ui files named at file level per the seat ruling (2026-12-03T23:45Z).
Pre-claim deps: none named by the card.
Prior rulings read: maintainer ruling on #39409 item 2 (option A), seat relay 2026-12-04T01:32Z.
Serial constraints cleared: check-handover.mjs --inflight --card=39475 after the #39409 and #39351 file-surface narrowing (7398099222, 7398068535).
Claim amendment: 2026-12-04T03:09Z · amends claim 7398178588 · Area: em-admin
File surface: ui/packages/plugin-list/src/__tests__/ListView.harness.test.tsx (the shared no-mock harness the new pins must join), ui/packages/plugin-list/src/__tests__/ListView.test.tsx and ui/packages/plugin-list/src/__tests__/ListViewBlock.specInputs-13047.test.tsx (existing pins of the old default), ui/packages/plugin-list/src/index.tsx (the exportOptions input description, the generator source of the component doc) and the regenerated sdui.manifest.json / content/docs/ui/components/plugins.mdx (generator output only, never hand-edited), plus packages/spec semantic upgrade entry files the convention requires, added to the existing surface; dev report (hand-back, no GitHub comment yet).
Scope: the list half of the ruled option A ships as a draft PR Part of #39475 (default formats csv + json for an undeclared block, the dev's stated choice under the analysis's "the dev states which"). The object-grid half waits on a maintainer choice about which internal grid hosts keep export, sent to the seat; no grid code on this claim yet.
Card #39475 implements ruling 7397956169 on #39409 (「默认可导出」, option A of analysis 7397854343). That analysis settled, with the letter, that "the grid on a page (object-grid component) follows the same default in the same PR … if that widens the diff past one PR the dev reports it, and does not leave the two renderers on different defaults." The dev did report it: claim amendment 7399764821 ships the list half as its own draft PR and holds the grid half for "a maintainer choice about which internal grid hosts keep export". The dev's hand-back is not on GitHub (the amendment says so); the three options below are the dev's framing as relayed to this analysis, checked against source at origin/mainad9ba58. Nothing was run in a browser.
Two things are decided here: the grid half, and a separate permission sub-question the earlier analysis left as confidence gap (b), now measured.
Analysis 7397854343, sub-questions settled with the letter: the grid follows the same default; off switches are exportOptions: { formats: [] } per view, userActions.exportCsv: false per object, no allowExport per permission set.
packages/spec/src/security/permission.zod.ts (allowExport docblock): "The built-in admin sets (admin_full_access, organization_admin) do NOT carry it either, so an admin holding only those sets is refused export. Grant it by binding the admin to an app or environment permission set that names each object to export with allowRead: true, allowExport: true."
packages/spec/src/identity/eval-user.zod.ts (ADMIN_FULL_ACCESS_CAPABILITIES): "Maintainer ruling (2026-08-15) removes the grant … ⛔ Do not restore it, and do not restore a NARROWER wildcard either — 'which platform objects should ship an explicit export grant' is an OPEN question the ruling deliberately left to a separate decision".
packages/plugins/plugin-security/src/objects/default-permission-sets.ts (member_default): "NO allowExport either, for the same reason and deliberately: granting export here would hand bulk egress to every authenticated user and make the opt-in axis a no-op. Do not 'fix' its absence."
packages/spec/src/security/high-privilege.ts: allowExport is in the class a set bound to the everyone or guest anchor may not carry.
packages/spec/src/migrations/entries/semantic/18.admin-export-wildcard-removed.ts: "an admin exports only what an app set grants".
ui/packages/app-shell/src/views/metadata-admin/metadataListGrid.ts (schema docblock): "none of the grid's record-list extras — no search box …, no selection, no inline edit, no export".
pm-dispatch 〈升级与决策〉: a standing maintainer ruling is not overturned by a card; safety and permission boundaries stay on the human floor.
Protocol
The grid half changes what an absent exportOptions means on an object-grid node: Metadata-protocol: semantic, the same declaration the card already carries for the list half. No key or value is added by the recommended option. The marker option would add a host-only key or prop. The sub-question changes no protocol under its recommended option; it changes the content of shipped example permission sets.
Premises (each with a re-check)
The grid draws its Export menu only when the node declares the block: git show origin/main:ui/packages/plugin-grid/src/ObjectGrid.tsx | sed -n 4885,4889p. formats: [] already turns it off (exportableFormats.length > 0), and the spec accepts an empty list: git show origin/main:packages/spec/src/ui/list-view-export-options.ts | sed -n 100p.
The list page hands its grid child no export block and owns export in its own toolbar: git show origin/main:ui/packages/plugin-list/src/ListView.tsx | sed -n 5576,5604p (no exportOptions among the child's props). A default-on grid would therefore draw a second Export under the list's own.
The related list on a record page has no export entry of its own today, and it feeds the grid rows it fetched in windows of 50: git grep -n -i "download\|csv\|xlsx" origin/main -- ui/packages/plugin-detail/src/RelatedList.tsx (one unrelated comment hit); sed -n 3830,3835p of the same file (data: { provider: 'value', items: paginatedData }); sed -n 1369p (RELATED_TAB_WINDOW = 50).
A grid fed rows by its host exports on the client path, which serializes only the rows in hand and never calls the server export door: git show origin/main:ui/packages/plugin-grid/src/ObjectGrid.tsx | sed -n 2237,2243p (!hasInlineData in serverEligible) and sed -n 2296,2297p. The door is where the grant is enforced and where the export audit row is written: git show origin/main:packages/rest/src/rest-server.ts | sed -n 2137,2139p.
Composing sites, measured: git grep -l "object-grid" origin/main -- ui/packages ui/apps | grep -v -E "test|stories|\.md$|\.json$" (55 files), each hit read for a node being built or a grid being mounted. Seven sites compose a grid (table below); the record picker's hit is a doc-comment example, not a host.
One of the seven is an authored surface: the object-view page component builds its grid from the author's named view and relays that view's export block: git show origin/main:ui/packages/plugin-view/src/ObjectView.tsx | sed -n 2819p.
No single structural test separates hosts from authored grids. The candidate "rows handed in by the host ⇒ off" fails on the grouped list page, where the grid queries for itself while the list still owns the toolbar: git show origin/main:ui/packages/plugin-list/src/ListView.tsx | sed -n 3984p.
Fresh-install premise, TRUE from code: member_default carries no export grant (git show origin/main:packages/plugins/plugin-security/src/objects/default-permission-sets.ts | sed -n 694,696p); neither built-in admin set does (git show origin/main:packages/spec/src/identity/eval-user.zod.ts | sed -n 137,154p, pinned by platform-admin-capabilities.test.ts); no shipped example grants it anywhere: git grep -c allowExport origin/main -- examples → 0 files (showcase ships nine sets, CRM two, starter and todo none).
The console hides Export for such a principal instead of showing a button that answers 403: git show origin/main:packages/core/src/security/effective-object-permissions.ts | sed -n 476,481p; an admin's export is refused at the door, pinned: git grep -n "EXPORT_NOT_PERMITTED" origin/main -- packages/qa/dogfood/test/admin-identity-audit-trail.dogfood.test.ts.
The guide that teaches app authors permission sets does not mention the export grant: git grep -l allowExport origin/main -- skills → three files, all under skills/objectstack-ui; none under skills/objectstack-data.
No ruling on this card's thread: gh api repos/objectstack-ai/objectstack/issues/39475/comments --jq length → 2 (claim, claim amendment).
Corrections to the framing received:
"≥8 internal hosts that author nothing": seven composing sites (the Studio metadata list schema and the page that mounts it are one site), and one of them, the object-view component, is authored (premise 6).
"The maintainer names which hosts keep export": the code leaves no host where keeping the grid's own Export is sound. The list page would show two; every other host hands the grid rows it fetched, so the button would download the loaded rows only, outside the door that checks the grant and writes the audit row (premise 4). That includes related lists: "keep" there would give a member a 50-row file that looks like the whole list.
The question in one sentence
When export becomes a default, which tables show it: every table the product draws, or only the ones an app author put on a page, with the platform's own screens deciding for themselves?
Options × real cost × workload
What
What the customer sees
Workload
A
The grid treats an absent block as the default block. Each platform screen that composes a grid as its own part writes exportOptions: { formats: [] } on the node it builds.
Tables an author placed on a page, and object views, show 导出 to members whose permission set grants export. List pages keep one export, in the list toolbar. Related lists, Studio lists and the designers show none from the grid.
domain:ui · 1 PR for the grid half (2 on the card with the list half) · nearest landed precedent #36096 +591/−48, 22 files (one export verdict applied across the grid, list and report entries); this touches the grid, six host files and pins, and is not an exact precedent
B
Default-on only where a new marker says the node came from authored metadata.
Same screens as A when every path sets the marker correctly.
domain:ui · 1–2 PRs · 无先例 for an authored-origin marker (the grid's existing host signals say "the host owns this control", never "an author wrote this node")
C
Ship the list half; the grid stays declare-to-get.
List pages export by default; a table on a page does not until its author writes the block.
0 further PRs · contradicts the boundary condition ruled with 7397854343
A against C is one PR against none; C is cheaper only by not doing what was ruled.
Business translation. A: every filing cabinet the customer set up gets a copier beside it; the building's own service rooms do not, and each service room says so on its own door. B: the same, but a new badge system is built to tell customer cabinets from service rooms. C: copiers in the main hall only; cabinets in side rooms need a written request each.
Four axes (business stance)
Long-term fit (①): End state two years out: a table of business records offers export to members who hold the export grant, wherever an author placed it, and the entry belongs to whoever owns the toolbar. Screens the platform composes decide their own toolbar; a design or setup screen is not a data-export surface. Dynamics 365 puts Export to Excel on record grids under one role privilege; ServiceNow exports from record lists under role rules; Odoo offers Export on record lists to its export group. In all three the record-export privilege governs business record lists, and the design-time screens (solutions and customizations, Studio, Settings) are separate surfaces that it does not reach. A reaches that state with the off switch the contract already publishes. B reaches the same screens with an extra concept to maintain. C leaves one vocabulary with two defaults, which the ruling excluded.
Real business need (②): The pull is the walkthrough's "import without export" on list pages. No report asks for export on Studio lists, the designers or related lists. Example apps author page grids and object views, and those follow the default under A.
AI-error-proofing (③): Under A an app author, human or AI, writes nothing and gets export where the grant allows. The risk moves to platform code: a future platform screen that composes a grid and forgets the off value shows an extra Export. That failure is visible on screen, not silent, and a pin that lists the composing sites catches it at review. Under B a forgotten marker fails the other way: an authored grid silently loses export, the very symptom the ruling fixes. Under C a forgotten block silently removes export, today's behaviour.
Startup focus (④): A adds no key, value or gate. B adds a marker and its maintenance. C adds nothing and leaves the ruled inconsistency.
os-decision-facets
① Long-term fit: A gives one default for authored tables and lets each platform screen own its toolbar with the published off switch, as Dynamics 365, ServiceNow and Odoo scope record export to business record lists; B adds a concept for the same result; C keeps two defaults.
② Business pull: measured on list pages only; zero pull for export on Studio lists, designers or related lists.
③ AI-error-proofing: A fails visibly (an extra button on a platform screen, caught by a site pin); B and C fail silently (an authored table without export).
④ Startup focus: A adds no declared surface; B adds a marker; C adds nothing and leaves the inconsistency.
Prior rulings read: export,default,view,declares,exportoptions → 190 hits; ADR-0035 Decision §2, ADR-0061 D2, ADR-0078 Decision §4, ADR-0092 D2, ADR-0098 Decision §1, ADR-0098 Decision §4, ADR-0110 D4, ADR-0131 D6, ADR-0143 D5 (each read by title and export mentions: none decides an export default; read by hand and governing: ruling 7397956169 with analysis 7397854343, the admin-wildcard and member-baseline rulings quoted above, ADR-0103 on the object's export bit); thread: none; repo: objectstack-ai/objectstack
Recommendation: A, with the host list below
Self-check: 只看①选 A;②③④ 是否翻转:否。
This matches the dev's letter, but not its open question: the hosts are not a list for the maintainer to pick from one by one. One rule covers them, and the code supports no exception today.
Not taken. B: a new concept whose only job is to avoid six explicit lines, and whose failure is silent. C: the ruling's own boundary condition excludes it.
Which surfaces keep the grid's export (proposed, ruled with the letter)
Surface
Verdict
Reason from the customer's side
Table an app author places on a page (page component, or the grid block on a coded page)
Keep (default on)
The ruled case.
Object view component on a page (plugin-view, builds its grid from the author's named view)
Keep (follows the view's block; absent means default)
It is the author's list view drawn as a grid; same rule as the list ruling.
List page's grid (the list's own child; also Studio's records grid, which is a list page)
Drop
The list toolbar already carries the export; a second button under it is noise.
Related list on a record page (the enlarged tab)
Drop now
It would download only the rows loaded so far (50 per window), outside the audited export door. The whole related set is one click away through "View all" on the list page.
Studio metadata item lists
Drop
They list app definitions, not business records; their own schema says no export.
Object manager and field designer
Drop
Design surfaces over definitions; no permission set governs them.
Developer row-actions preview page
Drop
A developer fixture with static rows.
Record picker dialog
Not a host
Only a comment example mounts a grid there.
A real export for related lists (the whole related set, through the server door, with its audit row) would be a new feature. No card is proposed: no one has asked, and the list page covers it.
Sub-questions settled with the letter:
A grid that names no object keeps today's rule (export only when its author declares the block). The ruling's wall is the export grant, and a grid with no object has no grant to ask. This is this analysis's addition; strike it if a static table should export unasked.
Default formats when absent: unchanged from the grid's existing fallback (csv, json), matching the list half.
The grid's second, older export entry (the table's CSV button behind operations.export) is untouched.
Sub-question: the built-in permission sets (human floor)
Measured (premises 8–10): on a fresh install no principal holds the export grant on any business object. The member baseline has none by design, both built-in admin sets lost theirs by maintainer ruling, the baseline is structurally barred from carrying it, and no shipped example app grants it. The console then hides Export for everyone. So after the list and grid halves land, a new company still sees 导入 alone, and the walkthrough admin's finding is unchanged in his eyes until someone grants export in a permission set (Setup's permission editor has an Export column, #26955).
What
What the customer sees
Workload
P1
Built-in sets stay as ruled. The shipped example apps and the starter grant export in their own role sets (never in the everyone baseline), and the app-authoring guide teaches "say who may export".
Demo and template apps show 导出 to the roles their author chose; apps built from the guide ship with an answer. An app can still declare an object exportable by nobody.
domain:examples 1 PR + domain:skills 1 PR · 无先例 for example grants (documentation precedents only: #27318 +15/−6, #25930 +42/−13)
P2
Change nothing.
Nobody sees 导出 until an admin builds a permission set, ticks Export per object and assigns it.
0 PRs
P3
Give the built-in admin sets export again.
Admins export everything out of the box, including objects an app declared exportable by nobody, and the app cannot switch that off.
domain:security 1 PR · 无先例 in this direction · reverses the standing ruling quoted above
Not offered: export on the member baseline. The publish check refuses the grant on a set bound to every member, and the set's own text forbids it.
Recommended: P1. On mainstream modelling alone the picture is mixed: Salesforce, Dynamics 365 and ServiceNow all ship their stock administrator with export. They can, because their roles can be cloned and narrowed. Here permission sets only add and the built-in sets cannot be edited, so a built-in grant is a floor no app can get under; that was measured on a released version and ruled out. The end state for this platform is that built-ins carry no export and every app states who exports, and P1 is the option that makes shipped apps do so. P2 leaves the ruled default invisible out of the box. P3 is listed only because the maintainer alone can reopen his ruling; this analysis does not recommend it and no agent may act on it without that.
Self-check (sub-question): 只看①选 P1;②③④ 是否翻转:否。 ② the walkthrough is the pull; ③ an AI-built app today ships with nobody able to export and nothing says so, P1 puts the line in the guide; ④ P1 adds no platform surface.
Confidence gaps
(a) Read from source; no browser run, no fresh install booted. (b) The dev's hand-back is not on GitHub; its options are taken as relayed, and the list-half draft PR was not found through the API, so its diff was not read. (c) How the first admin of a fresh install comes to hold an example app's role set was not measured; if nothing assigns one, P1 becomes visible only after the admin assigns himself a role in Setup. (d) Where the console has no permission answer at all (no provider, or an older backend), Export is offered by default; that is existing behaviour that default-on widens, and which deployments run that way was not measured. (e) "Related lists have no export today" comes from a text search of the component; one comment there says export stays in the related list's toolbar, and no such entry was found. (f) HotCRM's own authoring rule grants export only where a view declares the block; it needs a re-read once every list is an export surface (app repo, not analysed here). (g) Platform comparisons are from product knowledge, not re-read today. None moves either letter.
Execution after the ruling
A: same card, same claim, one PR for the grid half after the seat amends the file surface to the six host files (list view, related list, Studio metadata list schema, object manager, field designer, developer page). Pins: an authored grid with an absent block offers Export to a caller holding the export operation and nothing to one without; formats: [] and userActions.exportCsv: false close it; each of the six hosts draws no grid Export; the object view relays its view's block; a site list that fails when a new composing site appears without a verdict. Premise the dev verifies first: a caller whose sets withhold allowExport resolves no export operation on a grid with an absent block. Ban: if that fails, stop and report a security finding; do not ship default-on, and do not fall back to another option. The component doc and upgrade note say that Export appears only for members whose permission set grants export and that no built-in set does.
B: the seat files a design card for the marker first; the grid half waits on it.
C: the list half merges alone; the earlier analysis's boundary condition is recorded as withdrawn by the maintainer, and the docs state that a page grid exports only when declared.
P1: the seat files one domain:examples card at p2 (roles per example named in the PR body for the maintainer's read; the everyone baseline carries none) and the owed domain:skills follow-up for the permission guide. The dev measures gap (c) first and reports it.
P2: recorded on the card; the upgrade note carries the sentence above so the empty menu is explained.
P3: only on the maintainer's explicit reversal of the admin-wildcard ruling, recorded with its comment id; then one domain:security card with adversarial review.
Related-list export: no card unless the maintainer asks for one.
HotCRM: the seat relays gap (f) to the app seat as a note, not a card.
Related
#39475 (claim 7398178588, amendment 7399764821); #39409, analysis 7397854343, ruling 7397956169; #36096 (object export bit across surfaces); #26955 (Export column in the permission editor); #26935 (docs: no built-in admin set grants export); #18984 (console hides Export when the grant is withheld); #27089 (report export, default on).
Activity
objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim: PM loop round 2 · 2026-12-04T01:44Z
Session:
session_016WV4d1cnRvyiAqrarmDhZVAccount:
os-elon-muskArea: em-admin
Branch:
claude/issue-39475-wipWorktree:
objectstack-issue-39475Domain:
domain:uiSeat:
repo:objectstack@os-elon-muskFile surface:
packages/spec/src/ui/list-view-export-options.ts,ui/packages/core/src/utils/affordanceGrants.ts,ui/packages/plugin-list/src/ListView.tsx,ui/packages/plugin-grid/src/ObjectGrid.tsx,ui/packages/app-shell/src/views/ObjectView.tsx,content/docs/ui/components/plugins.mdx, the upgrade note the semantic change owes, new test files named for this card. Stop on any other breach and explain in the report.Container & model:
M,mode:subagent,model: default (dispatch-gates --tier at 55d673c6: "no path-derived mandate"),effort: high (M card, cross-package default change)Clause-②: no
Metadata-protocol: semantic
Responsibility: platform list views; every admin and user on a view with no
exportOptionsreaches it (import offered, export not).Thread-read: none
Premise: per the analysis 7397854343 on #39409 (option A, ruled by the maintainer 2026-12-04T01:30Z): export on by default when a view declares no
exportOptions;allowExportstays the permission wall.Pre-claim lane: zone em-admin (ui tree); out-of-ui files named at file level per the seat ruling (2026-12-03T23:45Z).
Pre-claim deps: none named by the card.
Prior rulings read: maintainer ruling on #39409 item 2 (option A), seat relay 2026-12-04T01:32Z.
Serial constraints cleared:
check-handover.mjs --inflight --card=39475after the #39409 and #39351 file-surface narrowing (7398099222, 7398068535).objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV
Claim amendment: 2026-12-04T03:09Z · amends claim 7398178588 · Area: em-admin
File surface:
ui/packages/plugin-list/src/__tests__/ListView.harness.test.tsx(the shared no-mock harness the new pins must join),ui/packages/plugin-list/src/__tests__/ListView.test.tsxandui/packages/plugin-list/src/__tests__/ListViewBlock.specInputs-13047.test.tsx(existing pins of the old default),ui/packages/plugin-list/src/index.tsx(theexportOptionsinput description, the generator source of the component doc) and the regeneratedsdui.manifest.json/content/docs/ui/components/plugins.mdx(generator output only, never hand-edited), pluspackages/specsemantic upgrade entry files the convention requires, added to the existing surface; dev report (hand-back, no GitHub comment yet).Scope: the list half of the ruled option A ships as a draft PR
Part of #39475(default formats csv + json for an undeclared block, the dev's stated choice under the analysis's "the dev states which"). The object-grid half waits on a maintainer choice about which internal grid hosts keep export, sent to the seat; no grid code on this claim yet.objectstack-fleet commentedon Dec 4, 2026
repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1EmrT9nkiXCRc8o9b
Decision analysis — #39475 grid half: which grids get export by default, and who can see it on a fresh install
维护者速读
Served-tier: CONTRACT_REVIEW_TIER
Analysed-by: session_016WV4d1EmrT9nkiXCRc8o9b
Background
Card #39475 implements ruling 7397956169 on #39409 (「默认可导出」, option A of analysis 7397854343). That analysis settled, with the letter, that "the grid on a page (
object-gridcomponent) follows the same default in the same PR … if that widens the diff past one PR the dev reports it, and does not leave the two renderers on different defaults." The dev did report it: claim amendment 7399764821 ships the list half as its own draft PR and holds the grid half for "a maintainer choice about which internal grid hosts keep export". The dev's hand-back is not on GitHub (the amendment says so); the three options below are the dev's framing as relayed to this analysis, checked against source atorigin/mainad9ba58. Nothing was run in a browser.Two things are decided here: the grid half, and a separate permission sub-question the earlier analysis left as confidence gap (b), now measured.
Governing text
exportOptionsis absent; theallowExportgrant stays the wall; Metadata-protocol: semantic."exportOptions: { formats: [] }per view,userActions.exportCsv: falseper object, noallowExportper permission set.packages/spec/src/security/permission.zod.ts(allowExportdocblock): "The built-in admin sets (admin_full_access,organization_admin) do NOT carry it either, so an admin holding only those sets is refused export. Grant it by binding the admin to an app or environment permission set that names each object to export withallowRead: true, allowExport: true."packages/spec/src/identity/eval-user.zod.ts(ADMIN_FULL_ACCESS_CAPABILITIES): "Maintainer ruling (2026-08-15) removes the grant … ⛔ Do not restore it, and do not restore a NARROWER wildcard either — 'which platform objects should ship an explicit export grant' is an OPEN question the ruling deliberately left to a separate decision".packages/plugins/plugin-security/src/objects/default-permission-sets.ts(member_default): "NOallowExporteither, for the same reason and deliberately: granting export here would hand bulk egress to every authenticated user and make the opt-in axis a no-op. Do not 'fix' its absence."packages/spec/src/security/high-privilege.ts:allowExportis in the class a set bound to theeveryoneorguestanchor may not carry.packages/spec/src/migrations/entries/semantic/18.admin-export-wildcard-removed.ts: "an admin exports only what an app set grants".ui/packages/app-shell/src/views/metadata-admin/metadataListGrid.ts(schema docblock): "none of the grid's record-list extras — no search box …, no selection, no inline edit, no export".Protocol
The grid half changes what an absent
exportOptionsmeans on anobject-gridnode:Metadata-protocol: semantic, the same declaration the card already carries for the list half. No key or value is added by the recommended option. The marker option would add a host-only key or prop. The sub-question changes no protocol under its recommended option; it changes the content of shipped example permission sets.Premises (each with a re-check)
git show origin/main:ui/packages/plugin-grid/src/ObjectGrid.tsx | sed -n 4885,4889p.formats: []already turns it off (exportableFormats.length > 0), and the spec accepts an empty list:git show origin/main:packages/spec/src/ui/list-view-export-options.ts | sed -n 100p.git show origin/main:ui/packages/plugin-list/src/ListView.tsx | sed -n 5576,5604p(noexportOptionsamong the child's props). A default-on grid would therefore draw a second Export under the list's own.git grep -n -i "download\|csv\|xlsx" origin/main -- ui/packages/plugin-detail/src/RelatedList.tsx(one unrelated comment hit);sed -n 3830,3835pof the same file (data: { provider: 'value', items: paginatedData });sed -n 1369p(RELATED_TAB_WINDOW = 50).git show origin/main:ui/packages/plugin-grid/src/ObjectGrid.tsx | sed -n 2237,2243p(!hasInlineDatainserverEligible) andsed -n 2296,2297p. The door is where the grant is enforced and where the export audit row is written:git show origin/main:packages/rest/src/rest-server.ts | sed -n 2137,2139p.git grep -l "object-grid" origin/main -- ui/packages ui/apps | grep -v -E "test|stories|\.md$|\.json$"(55 files), each hit read for a node being built or a grid being mounted. Seven sites compose a grid (table below); the record picker's hit is a doc-comment example, not a host.object-viewpage component builds its grid from the author's named view and relays that view's export block:git show origin/main:ui/packages/plugin-view/src/ObjectView.tsx | sed -n 2819p.git show origin/main:ui/packages/plugin-list/src/ListView.tsx | sed -n 3984p.member_defaultcarries no export grant (git show origin/main:packages/plugins/plugin-security/src/objects/default-permission-sets.ts | sed -n 694,696p); neither built-in admin set does (git show origin/main:packages/spec/src/identity/eval-user.zod.ts | sed -n 137,154p, pinned byplatform-admin-capabilities.test.ts); no shipped example grants it anywhere:git grep -c allowExport origin/main -- examples→ 0 files (showcase ships nine sets, CRM two, starter and todo none).git show origin/main:packages/core/src/security/effective-object-permissions.ts | sed -n 476,481p; an admin's export is refused at the door, pinned:git grep -n "EXPORT_NOT_PERMITTED" origin/main -- packages/qa/dogfood/test/admin-identity-audit-trail.dogfood.test.ts.git grep -l allowExport origin/main -- skills→ three files, all underskills/objectstack-ui; none underskills/objectstack-data.gh api repos/objectstack-ai/objectstack/issues/39475/comments --jq length→ 2 (claim, claim amendment).Corrections to the framing received:
The question in one sentence
When export becomes a default, which tables show it: every table the product draws, or only the ones an app author put on a page, with the platform's own screens deciding for themselves?
Options × real cost × workload
exportOptions: { formats: [] }on the node it builds.A against C is one PR against none; C is cheaper only by not doing what was ruled.
Business translation. A: every filing cabinet the customer set up gets a copier beside it; the building's own service rooms do not, and each service room says so on its own door. B: the same, but a new badge system is built to tell customer cabinets from service rooms. C: copiers in the main hall only; cabinets in side rooms need a written request each.
Four axes (business stance)
os-decision-facets
① Long-term fit: A gives one default for authored tables and lets each platform screen own its toolbar with the published off switch, as Dynamics 365, ServiceNow and Odoo scope record export to business record lists; B adds a concept for the same result; C keeps two defaults.
② Business pull: measured on list pages only; zero pull for export on Studio lists, designers or related lists.
③ AI-error-proofing: A fails visibly (an extra button on a platform screen, caught by a site pin); B and C fail silently (an authored table without export).
④ Startup focus: A adds no declared surface; B adds a marker; C adds nothing and leaves the inconsistency.
Prior rulings read: export,default,view,declares,exportoptions → 190 hits; ADR-0035 Decision §2, ADR-0061 D2, ADR-0078 Decision §4, ADR-0092 D2, ADR-0098 Decision §1, ADR-0098 Decision §4, ADR-0110 D4, ADR-0131 D6, ADR-0143 D5 (each read by title and export mentions: none decides an export default; read by hand and governing: ruling 7397956169 with analysis 7397854343, the admin-wildcard and member-baseline rulings quoted above, ADR-0103 on the object's export bit); thread: none; repo: objectstack-ai/objectstack
Recommendation: A, with the host list below
Self-check: 只看①选 A;②③④ 是否翻转:否。
This matches the dev's letter, but not its open question: the hosts are not a list for the maintainer to pick from one by one. One rule covers them, and the code supports no exception today.
Not taken. B: a new concept whose only job is to avoid six explicit lines, and whose failure is silent. C: the ruling's own boundary condition excludes it.
Which surfaces keep the grid's export (proposed, ruled with the letter)
plugin-view, builds its grid from the author's named view)A real export for related lists (the whole related set, through the server door, with its audit row) would be a new feature. No card is proposed: no one has asked, and the list page covers it.
Sub-questions settled with the letter:
csv,json), matching the list half.operations.export) is untouched.Sub-question: the built-in permission sets (human floor)
Measured (premises 8–10): on a fresh install no principal holds the export grant on any business object. The member baseline has none by design, both built-in admin sets lost theirs by maintainer ruling, the baseline is structurally barred from carrying it, and no shipped example app grants it. The console then hides Export for everyone. So after the list and grid halves land, a new company still sees 导入 alone, and the walkthrough admin's finding is unchanged in his eyes until someone grants export in a permission set (Setup's permission editor has an Export column, #26955).
Not offered: export on the member baseline. The publish check refuses the grant on a set bound to every member, and the set's own text forbids it.
Recommended: P1. On mainstream modelling alone the picture is mixed: Salesforce, Dynamics 365 and ServiceNow all ship their stock administrator with export. They can, because their roles can be cloned and narrowed. Here permission sets only add and the built-in sets cannot be edited, so a built-in grant is a floor no app can get under; that was measured on a released version and ruled out. The end state for this platform is that built-ins carry no export and every app states who exports, and P1 is the option that makes shipped apps do so. P2 leaves the ruled default invisible out of the box. P3 is listed only because the maintainer alone can reopen his ruling; this analysis does not recommend it and no agent may act on it without that.
Self-check (sub-question): 只看①选 P1;②③④ 是否翻转:否。 ② the walkthrough is the pull; ③ an AI-built app today ships with nobody able to export and nothing says so, P1 puts the line in the guide; ④ P1 adds no platform surface.
Confidence gaps
(a) Read from source; no browser run, no fresh install booted. (b) The dev's hand-back is not on GitHub; its options are taken as relayed, and the list-half draft PR was not found through the API, so its diff was not read. (c) How the first admin of a fresh install comes to hold an example app's role set was not measured; if nothing assigns one, P1 becomes visible only after the admin assigns himself a role in Setup. (d) Where the console has no permission answer at all (no provider, or an older backend), Export is offered by default; that is existing behaviour that default-on widens, and which deployments run that way was not measured. (e) "Related lists have no export today" comes from a text search of the component; one comment there says export stays in the related list's toolbar, and no such entry was found. (f) HotCRM's own authoring rule grants export only where a view declares the block; it needs a re-read once every list is an export surface (app repo, not analysed here). (g) Platform comparisons are from product knowledge, not re-read today. None moves either letter.
Execution after the ruling
formats: []anduserActions.exportCsv: falseclose it; each of the six hosts draws no grid Export; the object view relays its view's block; a site list that fails when a new composing site appears without a verdict. Premise the dev verifies first: a caller whose sets withholdallowExportresolves noexportoperation on a grid with an absent block. Ban: if that fails, stop and report a security finding; do not ship default-on, and do not fall back to another option. The component doc and upgrade note say that Export appears only for members whose permission set grants export and that no built-in set does.domain:examplescard at p2 (roles per example named in the PR body for the maintainer's read; the everyone baseline carries none) and the oweddomain:skillsfollow-up for the permission guide. The dev measures gap (c) first and reports it.domain:securitycard with adversarial review.Related
#39475 (claim 7398178588, amendment 7399764821); #39409, analysis 7397854343, ruling 7397956169; #36096 (object export bit across surfaces); #26955 (Export column in the permission editor); #26935 (docs: no built-in admin set grants export); #18984 (console hides Export when the grant is withheld); #27089 (report export, default on).