Skip to content

Honour permission-set default_on app as a new holder's first landing app #39476

Todo

Description

@objectstack-fleet

repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4cxiJF5PkqquFk98Bh7

Problem

Ruled on #39408 item 2 (maintainer, 2026-12-04T01:30Z, option D of the analysis in #39408 (comment)): a new employee lands in the demo app instead of their work app.

Ask

Enforce the existing per-permission-set tabPermissions[app] value 'default_on' as the holder's first-landing app: change the server merge order in the three places the analysis names, then make both landing resolvers honour it. No new metadata key. Boundary conditions and test cells as listed in the analysis.

Parent: #39408

Activity

  1. added
    enhancement
    priority:p2
    pm:queue
    domain:ui
    on Dec 4, 2026
  2. objectstack-fleet commented on Dec 4, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack@os-elon-musk · os-elon-musk · session_016WV4d1cnRvyiAqrarmDhZV

    Claim: PM loop round 2 · 2026-12-04T01:45Z
    Session: session_016WV4d1cnRvyiAqrarmDhZV
    Account: os-elon-musk
    Area: em-admin
    Branch: claude/issue-39476-wip
    Worktree: objectstack-issue-39476
    Domain: domain:ui
    Seat: repo:objectstack@os-elon-musk
    File surface: packages/core/src/security/resolve-authz-context.ts, packages/plugins/plugin-hono-server/src/current-user-endpoints.ts, packages/spec/src/api/auth.zod.ts, ui/apps/console/src/components/RootLandingRedirect.tsx, ui/packages/app-shell/src/utils/homePath.ts, ui/packages/app-shell/src/hooks/useHomePath.ts, content/docs/permissions/permission-metadata.mdx, 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, permission merge order across server and console)
    Clause-②: yes (widening: the GET /me/apps response may gain a landing mark; the dev re-declares on the PR from the actual diff)
    Metadata-protocol: semantic
    Responsibility: platform permission merge and console landing; every new user holding a permission set whose tabPermissions[app] is default_on reaches it.
    Thread-read: none
    Premise: per the analysis 7397842715 on #39408 (option D, ruled by the maintainer 2026-12-04T01:30Z): honour the existing default_on value as first-landing app; no new metadata key.
    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 #39408 item 2 (option D), seat relay 2026-12-04T01:32Z.
    Serial constraints cleared: check-handover.mjs --inflight --card=39476 after the #39408 file-surface narrowing (7398079125).

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:uxdomain:uienhancementpm:dispatchedpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions