Repository navigation
Description
维护者速读
- 事由: 没有任何授权的新用户首次登录,看到的是一屏「无权访问」磁贴。
- 要做: 平台的默认落地页对无授权用户说明「需要管理员授予访问权限」;新建用户时可顺带选一个权限集。HotCRM 那一半另立卡,等本卡。
- 完成标准: 无授权用户首屏是说明页,而不是错误磁贴。
Filing gate ③ a task the maintainer set: the maintainer's ruling on objectstack-ai/hotcrm#2194, recorded there at 6354968262 (the director seat, posting from the maintainer's account): 「25251 B hotcrm B」, 2026-10-23T01:05:47Z. That is letter B for all three rounds, exactly as the seat recommended, and it adopts T2-U19 (the platform half). Filed by the repo:hotcrm seat 1 (os-elon-musk, session session_014xanhPEmGTMTfVH4UokwJT) under objectstack-ai/hotcrm#2194's After the ruling. ⛔ Not a claim.
Grade: triage's. The seat suggests priority:p3: an adopted suggestion with a measured cost on an existing surface, no wrong data and no contract change.
Reader (who acts): objectstack triage routes and grades it. The landing below is the seat's reading of origin/main; paths under src/ are HotCRM's (objectstack-ai/hotcrm).
Governing text
- The ruling above. Per [Decision] Which of the 33 UI and UX suggestions from the 2026-10-20 browser passes to adopt (seat: adopt 23, fold 4 into open cards, defer 6) hotcrm#2194's own governing text, this item is an adopted suggestion through filing gate ②, not a defect card, and a platform or console landing is changed there, never re-implemented in HotCRM: 「平台相关的功能,应该尽量先改平台。」 (maintainer, 2026-10-18, ledger
6245607810).
Why (measured)
- Page / persona: first sign-in of a new user who holds no permission set (measured on HotCRM).
- Now: the user lands on an app dashboard where every tile says "You don't have access". The first screen a new hire sees is 6 error tiles.
- Evidence: objectstack-ai/hotcrm track 2 report, UI and UX suggestions, U-19;
07-people-users-newuser-landing.png. Re-measured unchanged on@objectstack/*18.0.0 by the round 2 pass (round 2 track 2 report, UI and UX suggestions, the section's opening paragraph).
Landing
- The console's default landing (objectui) for a signed-in user who can read nothing in the app it would open, and Setup → Users → Create User (
packages/platform-objectsidentity actions) for the optional permission-set pick. - Context the claim reads first: plugin-auth, setup users: a managed (SSO-only) hosted environment keeps only authorization + view in Setup → Users, turns its local sign-up off, and gives a JIT user the declared default permission set (cloud#3132 ruling A) #25083 and platform-objects: hide invite_user ×4, create_user and set_user_password when features.cloudManaged is on (visible predicates, hide-when-on) #25295 (a cloud-managed environment hides
create_userand invites elsewhere), and profiles: declare one anchor-safeisDefault: truepermission set so an installed HotCRM reaches every invited member of a managed environment (objectstack#25083 ruling Q1 B) hotcrm#2231 (closed: HotCRM'scrm_useris the package'sisDefaultset, so an accepted suggestion grants every member). - The HotCRM half (stop claiming the landing for such a user) is filed on objectstack-ai/hotcrm
pm:blockedon this card.
Done when
- A user who can read nothing in the app they would land on sees one page that says they need access and whom to ask, not a grid of refusals.
- Where Create User is offered, it can assign a permission set in the same step; under a cloud-managed environment nothing changes (platform-objects: hide invite_user ×4, create_user and set_user_password when features.cloudManaged is on (visible predicates, hide-when-on) #25295).
- Pins on the landing decision and on the create path.
Size: S.
Dedupe
Method: every open objectstack-ai/objectstack issue (108) and every issue updated since 2026-10-19 (544, any state), listed through the repo-scoped issues endpoint (paged) at 2026-10-23T01:20Z and matched case-insensitively on their titles. Words: landing, first sign, no grant, no access, create user. 1 open hit: #8249 (type-axis worklist), not on point; #24936 (closed, Create User's result dialog) is a different defect. New.
Generated by Claude Code
Activity
objectstack-fleet commentedon Oct 23, 2026
Claim: PM loop round 1
Session:
session_01TpToTVFniSfCoKfhPL16Nz(a card thread scheduled by the project's coordinator, which follows.claude/agents/os-dev.mdas its role file; the seat session issession_014Hse9cj2i4o5UAVrd21NKr)Account:
os-teslaBranch:
claude/project-thread-bdbiuf(the thread's designated branch: a card thread can push only that branch, a measured platform exception toclaude/issue-<n>-<slug>)Worktree:
objectstack-issue-25338Domain:
domain:engineSeat:
domain:engine#1(seat post #6367)File surface: objectstack:
platform-objects/src/identity/sys-user.object.ts(create_userparams) +plugins/plugin-auth(the create route; adomain:servicesfile the seat declares) + pins; objectstack-ai/objectui: the console's no-access landing, as that repo's own draft PR on the same branch name (stop on breach; explain in the report)Container & model:
S (non-mechanical, so M treatment),mode:thread,model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate),effort: highClause-②: yes
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: none
Serial constraints cleared: Seat 2's #25295 (p1,
pm:blocked) editscreate_user's visibility underfeatures.cloudManaged: this card reads its diff before the PR and mergesmainafter it lands. #25251 (decision box) governs the delegated-administration gate, which this card must not bypass.Clause-② reading: yes if
create_usergains a param (the action's accept set widens); the dev confirms it in the report and the seat routes the review. Dispatch order:/mnt/project-files/engine-seat1/dispatch-25338.md(+common.md). Ruling carried: objectstack-ai/hotcrm#2194 record6354968262(「25251 B hotcrm B」). Claimed 2026-10-23T03:48Z.Generated by Claude Code
objectstack-fleet commentedon Oct 23, 2026
os-dev-report
{ "issue": 25338, "status": "done", "branch": "claude/project-thread-bdbiuf", "pr": "https://github.com/objectstack-ai/objectstack/pull/25381 (head d8cbcdc8) + https://github.com/objectstack-ai/objectui/pull/13347 (head 1f9c107)", "session": "session_01TpToTVFniSfCoKfhPL16Nz", "premise_still_valid": true, "summary": "objectstack: Create User accepts an optional permissionSet. The route resolves the calling admin's OWN execution context (resolveRequestExecutionContext, session-only, fail-closed) and inserts sys_user_permission_set under it inside engine.transaction() with the account, so the existing D12 DelegatedAdminGate and catalog name check judge it exactly as Setup's grant form does; a refusal answers its own status and code and no user is created. No new assignment path, no isSystem grant, no widening: the route's platform-admin gate still only decides who may create a user. objectui: an app whose named objects the member can read none of lands on AppNoAccessEmptyState (reason no-readable-object) instead of a dashboard full of refusals. Cloud-managed unchanged (create_user hidden under features.cloudManaged).", "tests": "plugin-auth admin-user-endpoints.test.ts 65/65 (8 new). dogfood create-user-permission-set 3/3 (G1 granted_by=admin, G2 unknown set 400 + no user, G3 member 403 + no user). platform-objects 88 files / 1318 tests pass. tsc --noEmit 0 for plugin-auth and platform-objects. Ablation (objectstack): runAtomically -> plain work(), marker proven in dist by ablation-dist-preflight; G2 red ('expected [ …(26) ] to have a length of +0 but got 1'); restored to HEAD blob, rebuilt, --absent passes. A first leg used a comment marker the build stripped; preflight refused it, it measured nothing and is not counted. objectui: new AppContent.noReadableObjectLanding-25338 4/4; ablation (guard disabled) turns case 1 red, restored green; AppContent*/AppNoAccess*/i18n tests 115 files, 1556 passed, 13 skipped.", "gates": "objectstack: dispatch-gates --commands (104), each run with exit captured before any pipe; --ran reconciliation: 104 accounted, 102 run, 2 NOT-MEASURED (exit 3, prerequisite: `pnpm --filter @objectstack/spec run check:skill-examples` needs built client-react dist; `pnpm check:dual-build-cjs-loads` needs `pnpm build`). Fixed during the sweep: check-tenant-audit-census (new write site 237->238, --write + hand-written page figures), check-test-source-alias (dynamic import hoisted), check-plugin-teardown-shape --self-test (shallow clone; fetched pinned fixture 621a487, then 0). check-i18n-bundles 0. objectui (hand-derived, no dispatch-gates for that repo): check:i18n-keys, i18n-drift, i18n-dead-keys, vi-mock-specifiers/inherit/override-shape, changeset-claims, pending-changeset-literals, control-bytes, new-line-citations, test-path-roots, unreferenced-sources all 0; eslint changed files 0 errors; check:eager-locale-catalogues NOT-MEASURED (exit 2, needs built console bundle); app-shell type-check NOT-MEASURED (no built @object-ui/* dist in this checkout). CI check-runs to be cited at review.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm; the card's own dogfood file ran 3/3 under os-verify-lock", "line_budget": "objectstack 13 files, +570/-62 (incl. 4 regenerated translation bundles and census pages); objectui 15 files", "files_changed": "objectstack: plugin-auth admin-user-endpoints.ts, auth-plugin.ts, admin-user-endpoints.test.ts; platform-objects sys-user.object.ts, create-user-result-dialog-copy.test.ts, 4 translation bundles; qa/dogfood create-user-permission-set.dogfood.test.ts; tenant-audit census mdx + counts.md; changeset. objectui: app-shell AppContent.tsx, AppNoAccessEmptyState.tsx, appServesNoNavigation.ts, new test; i18n 10 locales; changeset.", "deviations": [ "permissionSet is an INLINE text param, not field-backed on sys_user_permission_set.permission_set: that object is plugin-security's, ActionParamDialog refuses the whole action when a field-backed param's object metadata is not loaded, and a field-backed param would not inherit the field's widget: 'permission-ref' anyway. No picker in this PR.", "objectui PR body uses '## Out of scope' instead of '## Acceptance notes' (written once, not PATCHed); its note: 'whom to ask' is the generic 'an administrator', the app carries no owner/contact field.", "Unatomic on a driver without beginTransaction (ADR-0119 D1 declared limit), stated in PR body." ], "mcp_calls": "4 — mcp__github__issue_read x4 (reads only); plus subscribe_pr_activity x2 (session subscription, not a GitHub write)", "api_writes": "4 — git push x2 repos (not REST); relay pr_create objectstack-ai/objectui#13347 (POST pulls + POST issues/13347/assignees); relay pr_create objectstack-ai/objectstack#25381 (POST pulls + POST issues/25381/assignees); this os-dev-report comment (POST issues/25338/comments via post-stamped)", "open_questions": [], "out_of_scope_findings": [ "class: a · reach: none measured at a public door (read-only inference from objectui resolveActionParams: a field-backed param resolves `param.type ?? field.type` and drops the field's `widget` hint, so a permission-ref/user-ref field offered as an action param renders a plain text box) · noted in PR Acceptance notes, not filed · dedupe words: action param widget hint, permission-ref param, field-backed param picker", "carrier: none" ] }objectstack-fleet commentedon Oct 23, 2026
ACCEPT → PR #25381 comment 6360084857 and objectstack-ai/objectui#13347 comment 6360094502 (both ready + auto-merge set 2026-10-23T07:47Z).
Generated by Claude Code
fix(app-shell): a member who may read none of an app's objects lands …