Skip to content

Setup routes refuse a plain member three different ways: the settings hub says "No settings registered", a settings page shows a raw capability error inside the Showcase shell, while the Setup app root shows the proper no-access page #27507

Closed

Description

@objectstack-fleet

domain:devx#1 · sunhaolin · session_017xRBcUoS2G4jgqRskpExS7

Found in the 18.3.0 release-candidate browser walkthrough (wave anchor #27377, card W3-UX), at framework main @ c4c515ad, Console built in-repo from the same commit.

Repro (fresh boot)

  1. Boot examples/app-showcase with --seed-admin. As admin, invite member1@example.com as member and complete that person's sign-up. Self-registration is invite-only on stock, so this is the standard door.
  2. Sign in as the member. Viewport 1440×900. Open each of these:
    • /_console/apps/com.objectstack.setup
    • /_console/apps/setup/system/settings
    • /_console/apps/setup/system/settings/auth
    • /_console/apps/setup/system/settings/localization

Expected

Each Setup route refuses the same way the app root does: the clean "You don't have access to this app … Back to home" page.

Actual

  • /apps/com.objectstack.setup: the clean no-access page. This is good.
  • /apps/setup/system/settings (the hub) renders inside the Showcase app shell and says "No settings registered. Plugins can register settings manifests via the SettingsService." That is false (an admin sees about 20 groups) and developer-facing. The real reason is missing permission.
  • /apps/setup/system/settings/auth renders inside the Showcase shell with raw red text: "Access denied: reading settings namespace 'auth' requires the 'manage_platform_settings' capability". The localization page says "… requires the 'setup.access' capability".
  • Browse Marketplace shows a third wording, "App Marketplace is admin-only".

No data is exposed: the server refuses each read. Only the presentation is wrong. The member gets a misleading empty state on one route, an engine message on another, and lands in the wrong app shell.

QA-source: #27377 · ux-walkthrough · track 2


Generated by Claude Code

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: 真挡得住的权限 | none | P②

    Triage: p2 · domain:ui · area:access · 2026-10-29T11:18Z

    ⛔ Not a claim.

    • Read fresh. Setup routes refuse a plain member three ways: a false No settings registered, a raw capability error, and the wrong app shell. The server does refuse each read, but the refusal carries a wrong prescription: p2.
    • Route every Setup sub-route refusal through the app root's existing no-access page. No new per-page refusal copy.
    • bug, pm:queue.

    Generated by Claude Code

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

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-bill · session_01Utp6CY2n1JmZZKrHgtp9jC

    Claim: PM loop round 1 · 2026-10-29T13:27Z
    Session: session_01Utp6CY2n1JmZZKrHgtp9jC (seat; implementation by a card thread, mode:thread)
    Account: os-bill
    Branch: claude/project-thread-srudju (the card thread's harness push branch, self-reported — the measured platform exception to claude/issue-N-slug)
    Worktree: objectstack-issue-27507
    Domain: domain:ui
    Seat: domain:ui#2
    File surface: ui/packages/app-shell/src/console/AppContent.tsx (+ utils/appRoute.ts), ui/apps/console/src/AppContent.tsx / ui/apps/console/src/pages/settings/** and ui/packages/app-shell/src/console/marketplace/** only if measured necessary, tests beside, a changeset; ⛔ packages/services/** (stop on breach; explain in the report)
    Container & model: M, mode:thread, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate), effort: high
    Clause-②: no (expected: presentation of a refusal the server already makes)
    Metadata-protocol: none (expected; the dev measures from the diff)
    Responsibility: ui/packages/app-shell/src/console/AppContent.tsx (appSurfaceAwaitsVerdict covers only the Setup root and metadata routes) | the app-root no-access page already exists and is the path to reuse | every non-admin member who opens a Setup sub-route, today
    Thread-read: 6495223154
    Premise: holds — on origin/main ee9a8d6e the verdict is awaited only for the Setup root and metadata routes, so /apps/setup/system/settings* falls back to the default app shell; the routes objectui#12706 left open (approval links, approvals records) stay out of this card
    Serial constraints cleared: none — no open PR or live claim touches app-shell/src/console/AppContent.tsx or the settings pages

    Dispatch order: /mnt/project-files/ui-seat2/dispatch-27507.md in the Claude Code project (not on GitHub); its ruling section quotes the triage/maintainer text above verbatim.


    Generated by Claude Code

  5. objectstack-fleet commented on Oct 29, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-bill · session_01Utp6CY2n1JmZZKrHgtp9jC
    os-dev-report

    {
      "issue": 27507,
      "status": "done",
      "branch": "claude/project-thread-srudju",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/27590",
      "head": "244ec6aa876492736a69a8ad978f51794f117f3d",
      "session": "session_01Utp6CZ9nhZe8YouxkXECUs (card thread; seat session_01Utp6CY2n1JmZZKrHgtp9jC)",
      "premise_still_valid": true,
      "summary": "Premise held as the dispatch read it: on origin/main the system/settings and system/marketplace routes under /apps/setup are pseudo-routes (system segment), never wait on the access verdict, and fall back to the default launcher app. AppContent (app-shell) now adds isSettingsOrMarketplaceRoute (sub-path system/settings... or system/marketplace...) to appSurfaceAwaitsVerdict, so a caller the URL's app refuses gets renderAppAccessDenied, the app root's screen; every other verdict and every admitted caller render as before. The objectui#12706 open routes (system/approvals, OBJECT/record/ID) are untouched; no inner component and no server file changed.",
      "tests": "New AppContent.settingsMarketplaceVerdict-27507.test.tsx: 11/11 green (real ObjectStackAdapter over stubbed fetch). Ablation via scripts/ablation-replace.mjs on the predicate (anchor x1 to x0, blob b1fda270bd2d to debf46cb71c7; restored blob == HEAD, git diff HEAD empty): 7 failed, 4 controls passed. No build/dist leg: the test imports ../AppContent from source. Post-merge at 244ec6aa: pnpm --dir ui exec vitest run --maxWorkers=2 packages/app-shell/src/console/__tests__/ apps/console/src/__tests__/AppContent.systemHubRoutes.test.tsx: Test Files 58 passed (58), Tests 408 passed (408) (lock VERDICT command-exit 0). pnpm --filter @object-ui/app-shell run type-check: VERDICT command-exit 0; new test in tsconfig.test.json program (--listFilesOnly count 1). eslint on the 2 touched files: 0 errors, no warning on a touched line.",
      "gates": "At 244ec6aa, dispatch-gates --commands --repo objectstack-ai/objectstack derived 34; all run, each exit captured before any pipe: node scripts/check-adr-0087-registration.mjs --base origin/main :: exit 0; node scripts/check-adr-0087-registration.mjs --self-test :: exit 0; node scripts/check-changeset-no-major.mjs --base origin/main :: exit 0; node scripts/check-closing-keyword-parity.mjs :: exit 0; node scripts/check-closing-keyword-parity.mjs --self-test :: exit 0; node scripts/check-comment-mask-corpus.mjs :: exit 0; node scripts/check-empty-changeset.mjs --base origin/main :: exit 0; node scripts/check-empty-changeset.mjs --self-test :: exit 0; node scripts/check-sdui-manifest.mjs :: exit 0; node scripts/check-sdui-manifest.mjs --self-test :: exit 0; node scripts/pm/release-rehearsal-clone.mjs --self-test :: exit 0; node scripts/release-pending-publish.mjs --self-test :: exit 0; pnpm --dir ui exec vitest run scripts/ :: exit 0; pnpm --filter @objectstack/spec run check:duration-unit-keys :: exit 0; pnpm check:changeset-gate-self-tests :: exit 0; pnpm check:closed-ceremony-text :: exit 0; pnpm check:cross-package-test-inputs :: exit 0; pnpm check:dispatcher-error-vocabulary :: exit 0; pnpm check:driver-memory-census :: exit 0; pnpm check:engine-double-contract :: exit 0; pnpm check:gitlink-declared :: exit 0; pnpm check:nul-bytes :: exit 0; pnpm check:pm-changeset-deadline-census :: exit 0; pnpm check:published-files :: exit 0; pnpm check:query-options-erasure :: exit 0; pnpm check:refd-timer-probe :: exit 0; pnpm check:skill-identifier-liveness :: exit 0; pnpm check:test-source-alias :: exit 0; pnpm check:tier-file-adoption :: exit 0; pnpm check:type-check-coverage :: exit 0; pnpm check:type-check-debt :: exit 0; pnpm check:undeclared-dep-imports :: exit 0; pnpm check:watch-hint-literal :: exit 0; pnpm check:where-matcher :: exit 0. --ran reconciliation: 34 derived, 34 run, 0 NOT-MEASURED, 0 UNRUN. Extra: ui check:new-line-citations 0 new (exit 0); check-nul-bytes exit 0. CI check-runs on #27590: in_progress at report time (not awaited, per os-dev).",
      "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
      "line_budget": "353 changed lines (+352/-1): AppContent.tsx +14/-1, new test 326, changeset 12; under the 3000 human-merge threshold",
      "files_changed": [
        ".changeset/27507-setup-settings-marketplace-denied.md",
        "ui/packages/app-shell/src/console/AppContent.tsx",
        "ui/packages/app-shell/src/console/__tests__/AppContent.settingsMarketplaceVerdict-27507.test.tsx"
      ],
      "deviations": [
        "PR body attribution line links the card thread (the harness's required project-thread link, kept exactly as the session context gives it) rather than the seat-thread link the dispatch spelled; signature line and marker line are as dispatched.",
        "Test file is a new sibling in app-shell console __tests__ rather than an edit to the two files the dispatch named beside it; both named files still run green unchanged (pseudoRouteSegments and console systemHubRoutes are in the 58-file run).",
        "Harness post-PR assignee/review step skipped by order: no assignee, no reviewer on #27590."
      ],
      "mcp_calls": "0 — no GitHub MCP tool called (card reads went through gh api GET)",
      "api_writes": "2 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls, draft) via repository_dispatch run 40889740413; this os-dev-report comment (POST /repos/objectstack-ai/objectstack/issues/27507/comments). Plus git push of the branch (not REST).",
      "open_questions": [],
      "out_of_scope_findings": [
        "observation, not filed · a caller Setup admits who lacks manage_platform_settings can type /apps/setup/system/settings/auth and SettingsView prints the server's error message verbatim; the hub does not list that namespace, so reach is by URL only; not reproduced in a browser · carrier: none · noted in PR Acceptance notes",
        "observation, not filed · other Setup system routes the card does not name (system/apps, system/audit-log, system/ai-approvals, system/profile) still fall back to the default app for a Setup-refused caller; same product question objectui#12706 left open · carrier: none · noted in PR Acceptance notes",
        "server lane: none owed — the settings list answering an empty filtered list (not 403) is now unreachable for a Setup-refused caller"
      ]
    }
  6. objectstack-fleet commented on Oct 29, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-bill · session_01Utp6CY2n1JmZZKrHgtp9jC

    ACCEPT → PR #27590 comment 6499724911 (head 244ec6aa); landing through the merge queue.

  7. objectstack-fleet commented on Oct 29, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#2 · os-bill · session_01Utp6CY2n1JmZZKrHgtp9jC

    Landed · 2026-10-29T14:53Z

    probe reading
    PR #27590 merged through the queue, merge commit 77e993ea29f1a96126f46a5e3748847ce5eb5dd3
    this card closed completed by the PR's Fixes line

    State: pm:dispatched removed; the assignee stays as the record of who carried it.


    Generated by Claude Code

  8. removed
    pm:dispatched
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:accessbugdomain:uipriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions