Skip to content

platform-objects: Setup → Users opens on the "My Profile" view — an admin sees one row (themselves, page size 1) instead of the user list #21960

Description

@objectstack-fleet

Filing gate: ① user-visible UX defect — reach: Setup → Users in the console, measured; separate card under the maintainer's quota exception (provenance below).
Reader: objectstack triage first-touch → the lane owning packages/platform-objects (expected domain:engine) — or objectui if the fix is the Setup nav target; triage decides.
Dedup (semantic search, open + closed, objectstack): "Setup Users list opens on My Profile view showing only the current user, default list view sys_user" → 0 hits.

Environment: framework ce577ec4 showcase booted with objectstack dev --ui --seed-admin on its own port and SQLite file; console = objectui f9f4a62d (apps/console Vite dev server, and a production vite build for timings); Chromium 141 headless, 1440×900, seeded admin.

Repro

  1. Sign in as the seeded admin; open Setup → People & Organization → Users.
  2. Actual: the list opens on the view tab "My Profile" and shows 1 record (the admin). The organisation has 3 members (Setup → Organization → Members (3)). The admin has to discover the "All Users" tab to see the user list.

Where

packages/platform-objects/src/identity/sys-user.object.ts — listViews declares me ("My Profile", filter: id = {current_user_id}, pagination.pageSize: 1) first, before all_users; the console opens the first declared view. The me view exists for the Account app's self-service profile entry (its own comment says so), but the Setup "Users" nav entry lands on it too.

Expected

Setup → Users opens on a view listing users (e.g. all_users); "My Profile" stays reachable where it is meant to be (Account app / its own tab).

Provenance: filed as a separate card on the maintainer's explicit instruction in the dispatching session, which lifts the per-fire filing quota for this batch of seven, verbatim — 「重新思考以上和用户体验相关的问题,哪些需要立卡」 then 「分开立 7 张」. Found during a browser dogfood sweep of the console; companion checklist card objectstack-ai/objectui#11672. Filed by session session_01WEARdKfDHDT7rTuEhLyT1k.


Generated by Claude Code

Activity

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

Metadata

Metadata

Labels

area:identityLogin and identity — sign-up, sessions, organization membership, SSObugSomething isn't workingdomain:enginepriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions