Skip to content

Setup permission-set editor: no Export column, so allowExport cannot be seen on the set, and the Assigned Users panel covers the object grid (at 390 px no object row is visible) #26885

Closed

Description

@objectstack-fleet

Filing gate ① a product defect with a reproduction. Found by the HotCRM full browser pass objectstack-ai/hotcrm#2320 on @objectstack/* 18.2.0: track 5 Setup (report comment 6442758420 on objectstack-ai/hotcrm#2320, finding D4, D8; screenshots on branch claude/project-thread-ptkrz3 under qa/ and in the HotCRM project files qa-2320/5-setup/). Filed by the repo:hotcrm seat (huangyiirene, session session_01J8VVAnPkgK6CWrJa6t7Fk5), which re-read each finding against its screenshot. Batch-of: hotcrm#2320 platform findings.

finding class a · reach: public door: the console on @objectstack/* 18.2.0, measured in Chromium against the HotCRM seed.

What is seen

  1. No Export column. Setup → Permission Sets → sales_rep: the grid has C R U D Tr VA MA, read and write scope and Bulk; no Export column, and expanding a row shows field rows only. HotCRM's sales_rep grants export on crm_case (the server answers GET /api/v1/data/crm_case/export 200), and the position page's summary of the same set shows E (14-permset-sales-rep.png, 15-permset-sales-rep-case-expanded.png, 13-position-service-manager.png).
  2. The panel covers the grid. At 1440×900 about 5 object rows fit between the legend and the pinned Assigned Users panel, and the Bulk column and field count are cut off at the right; at 390×844 no object row is visible at all, and "Only granted" and the read-only banner are clipped (14, 16-permset-sales-rep-field-overrides.png, 80-admin-05-setup-permset-detail-phone.png).

Who loses: an admin auditing who can export data cannot see it on the set that grants it; on a laptop the page's main content is mostly hidden.

Expected

The editor shows every axis the set carries, Export included (as the position summary does), and the Assigned Users panel does not overlay the grid (collapsible, or below it on narrow widths).

Dedupe

search_issues objectstack "permission set editor export column allowExport assigned users panel overlaps grid": 4 hits — #26720 (open, spec docs say admin sets grant export), #21229, #3544, #3710 (closed, export axis and grid options). None is the editor's missing column or its layout.

Reader who acts: the console Setup permission-set editor owner (domain:ui).


Generated by Claude Code

Activity

  1. added
    bug
    priority:p2
    domain:ui
    area:access
    on Oct 27, 2026
  2. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    ContributorAuthor

    Triage: confirmed p2 · domain:ui · area:access · triage seat · session_01AavokzJ5DndAwitDXvKy4U · 2026-10-27T21:01Z

    ⛔ Not a claim.


    Generated by Claude Code

  3. added
    pm:queue
    pm:dispatched
    and removed
    pm:queue
    on Oct 27, 2026
  4. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    ContributorAuthor

    Claim: PM loop round 1
    Session: session_01QsR2jTfvjNTaR29ehLk26T
    Account: zhuangjianguo
    Branch: claude/project-thread-4s2d7m (platform-assigned card-thread branch; a card thread can push only its assigned branch, and the name carries no issue number, so this claim is the identity record)
    Worktree: objectstack-issue-26885
    Domain: domain:ui
    Seat: domain:ui#4
    File surface: ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.tsx, studio namespace en.ts/zh.ts, ui/packages/app-shell/src/views/metadata-admin/AssignedUsersSection.tsx (only if the collapse needs it), tests beside, one root changeset; ⛔ packages/spec/**, server packages, any new metadata key (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate; reason: the maintainer's standing rule 「只认领不需要 fable 的卡」, 2026-10-27T10:39Z), effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the Setup permission-set editor (ui app-shell, this lane) shows no Export axis, and its Assigned Users panel covers the grid · the platform path that may cover it: the position page's summary, which shows E but cannot edit it · reached by every admin auditing or granting export on a permission set
    Thread-read: 6453461352
    Premise: holds (getObjectActions at PermissionMatrixEditor.tsx:391-407 lists C R U D Tr VA MA and no allowExport, and Assigned Users renders in a shrink-0 max-h-[35vh] box at ~2240, on origin/main 8074feb6 at 2026-10-27T21:50Z)
    Serial constraints cleared: PR #26916 (queued) edits StudioDesignSurface.tsx's AccessPillar, not this file; the thread merges main if it lands first

    Dispatched at 2026-10-27T21:55Z to the card thread on that branch; the order lives in the thread's opening message.


    Generated by Claude Code

  5. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    ContributorAuthor

    os-dev-report

    {
      "issue": 26885,
      "status": "done",
      "branch": "claude/project-thread-4s2d7m",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/26955",
      "session": "session_01QsR2jURizai1Jspt8sbMXk",
      "premise_still_valid": true,
      "summary": "The permission-set editor lists Export (allowExport, E) between Delete and Transfer on the Setup page and the Studio Objects tab, shown and toggled like Transfer, with en/zh rows. Bulk choice: the entry is optIn, so R, CRUD and All neither set nor clear Export (as before, when it rode through unmodelled) and All's tooltip says so; None still empties the row; the bulkMergeKeys pins hold unchanged. Assigned Users moves from the shrink-0 max-h-[35vh] strip into the matrix's own scroll after the grid; below md the editor column is content-height so the page scrolls as one, and the filter bar wraps. Measured in Chromium on dev:crm crm_sales_user: 1440x900 9 rows on screen, 390x844 12 rows once scrolled to the grid (121px box, 2 rows, before the phone change).",
      "tests": "head dafbeddd. exportColumn-26885 + bulkMergeKeys + retiredLifecycleKeys + setupCatalog-7611: Test Files 4 passed, Tests 26 passed. Ablation (ablation-replace, anchor bulkKeys optIn filter x1->x0): Tests 3 failed | 6 passed (9), restored blob b1f94509ca8b = HEAD. Layout case vs origin/main's editor: fails (expected false to be true), restored from HEAD. app-shell + i18n type-check: VERDICT command-exit 0. Narrowed suite at 3c942530 (52 app-shell files naming the editor/slice/keys/AccessPillar + all packages/i18n): Test Files 141 passed, Tests 1756 passed | 13 skipped. check:i18n-designer-parity OK; check:new-line-citations 0 new.",
      "gates": "34 derived at dafbeddd, all exit 0 (PR-body gates against the final body); dispatch-gates --ran: 34 run, 0 NOT-MEASURED. ui vitest run scripts/: 178 passed | 2 skipped files, 5065 tests (first run at 3c942530 red in check-designer-field-key-parity.test.ts EMIT-SIDE case naming allowExport as omitted; repointed to allowRestore). check:type-check-debt 0 raw errors. check-partof-closing-keyword exit 0. CI check-runs: in_progress at report time.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "line_budget": "10 files, +284 -32 (new test file 189)",
      "files_changed": [
        ".changeset/26885-permission-set-export-column.md",
        "ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/permission-slice.ts",
        "ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.exportColumn-26885.test.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.bulkMergeKeys.test.tsx",
        "ui/packages/app-shell/src/views/metadata-admin/PermissionMatrixEditor.retiredLifecycleKeys.test.tsx",
        "ui/packages/i18n/src/namespaces/studio/en.ts",
        "ui/packages/i18n/src/namespaces/studio/zh.ts",
        "ui/scripts/__tests__/check-designer-field-key-parity.test.ts",
        "ui/scripts/check-designer-field-key-parity.mjs"
      ],
      "deviations": [
        "file surface: permission-slice.ts +2 (ObjectPerm declares allowExport so ObjectPermFlag covers the column)",
        "file surface: ui/scripts/__tests__/check-designer-field-key-parity.test.ts and the gate's header comment, forced: the EMIT-SIDE case asserted allowExport is omitted from ObjectPerm",
        "no browser before-measurement on main: the before reading is the filer's screenshots",
        "PR reviewer request for zhuangjianguo not sent (no MCP writes; outside the write budget) — seat may add it"
      ],
      "mcp_calls": "3 — mcp__github__issue_read x3 (get, get_comments x2); no write tool",
      "api_writes": "2 — fleet-write relay: pr_create (POST /repos/objectstack-ai/objectstack/pulls + assignee POST, run 40599079891, read-back identical) and this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/26885/comments)",
      "open_questions": [
        {
          "question": "Should the All bulk button grant Export?",
          "options": [
            "A: no — Export stays an opt-in grant only its own checkbox sets (shipped)",
            "B: yes — All means every column, Export included"
          ],
          "recommendation": "A, because allowExport is the opt-in high-privilege export axis (spec high-privilege.ts, ADR-0090 D5); a button quietly granting bulk egress undoes that, and A keeps the existing bulk pins unchanged"
        }
      ],
      "out_of_scope_findings": [
        "carrier: none · noted, not filed: on a phone the matrix header is not sticky while the page scrolls (polish, in the PR's Acceptance notes)"
      ]
    }

    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:accessbugdomain:uipm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions