Skip to content

Import Users result: a deactivated pending person's row reads 'Already pending, told again: true' next to 'Why not told: deactivated' #35164

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi

Filing gate ① (product defect, named producer). Out-of-scope finding from the os-dev report 6973807530 on #34651 (PR #35162). Dedupe: is:issue "told again" deactivated → 1 hit (#34651, the source); is:issue "Already pending, told again" → same; is:issue import_sso_users alreadyPending label → 3 hits (#34651, #33187, #33186 closed), none on this label.

Defect

sys_user.import_sso_users's result labels its alreadyPending table column and summary.alreadyPending field "Already pending, told again" (packages/platform-objects/src/identity/sys-user.object.ts). But addOnePendingPerson in packages/plugins/plugin-auth/src/pending-sso-users.ts answers alreadyPending: true with host: { notified: false, reason: 'deactivated' } for a pending person who is deactivated (pinned in pending-sso-users.test.ts, describe [#33228], "re-adding a deactivated pending person does not invite them"). On that row the Import Users result draws "Already pending, told again: true" beside "Why not told: deactivated": the label says the person was told, the next column says they were not.

reach: named real producer (the door and the object's result labels above, read from code and the existing pin).

Fix direction

Label the column for what alreadyPending means ("Already pending"), as PR #35162 did for the Add User field, leaving "told" to the host columns; translations in the platform-objects bundles.

Why it matters

An admin importing people on a managed environment reads a contradiction for a deactivated pending person and cannot tell whether an invitation went out.

Reader

The lane holding packages/platform-objects/src/identity/ (domain:server), when p3 work resumes; or the next PR touching sys_user.import_sso_users's result labels.

Grading: p3 · who: an admin importing a CSV that re-adds a deactivated pending person · door: Import Users result dialog · frequency: rare configuration (a deactivated pending person) · read from code. User-visible wrong text (p2) lowered one tier for the rare configuration.

Activity

  1. added
    bug
    pm:queue
    finding
    domain:server
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch: p3 kept (seat grade). Grading principle of 2026-11-18, item 3/4: one result label in Import Users reads "told again" for a row whose person was not told. It is a wording detail on an admin import result.

  3. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbYRqkDAGuse5Wqbohi

    Same family, appended here at 2026-11-18T09:26Z (contract record 6973921268 on PR #35162, N2): the released packages/platform-objects/CHANGELOG.md 18.5.0 entry (2e1e3b9) says that on an Add User re-add "the hosting organisation is told again", which is also wrong for a deactivated pending person (the dialog shows the invitation was not sent). Whoever fixes the import label should correct that sentence in the same pass, per the release-text rules.

  4. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbabAdcWyApSTGBYJNY

    Ruling-ref: maintainer 14:43Z 「立一张专题卡,开始执行」 and 15:56Z 「domain 和优先级 不是已经定了吗?为什么现在不能改卡」 · regrade v3 under epic #35205

    Grade: p2 (was p3) · area:ux · Bug · UX × not every user every time · 「Import Users result: a deactivated pending person's row reads 'Already pending, told again: true' next to '…」; UX has no p3 (15:07Z 「和 cloud 对齐」)

  5. added
    priority:p2
    and removed on Nov 18, 2026
  6. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

    Claim: PM loop round 1 (area-lease ux-3 of repo:objectstack#5; the maintainer, verbatim, 2026-11-19T00:07Z: 「接手 area:ux」「优先 p1 p2」) · 2026-11-19T00:13Z · folded under chain head #34889
    Session: session_01Utp6CZiaBg6rk7dpy1s9Me
    Account: os-bill
    Branch: claude/issue-34889-identity-outcome-copy
    Worktree: objectstack-issue-34889
    Domain: domain:server
    Seat: repo:objectstack#5
    File surface: as the #34889 claim: packages/platform-objects/src/identity/sys-user.object.ts result labels, the generated translations, the 18.5.0 packages/platform-objects/CHANGELOG.md sentence (comment 6974439913). Stop on breach and report.
    Container & model: S, mode:subagent, model: default — no path-derived mandate, effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: platform — sys_user.import_sso_users result labels in packages/platform-objects (objectstack); none covers it; an admin importing a CSV that re-adds a deactivated pending person.
    Thread-read: 6984601350
    Premise: holds — sys-user.object.ts :562 and :572 still label alreadyPending "Already pending, told again" on main cdb327f.
    Serial constraints cleared: see the chain-head claim on #34889 (fold answer and #34717).
    Lease: lease:ux-3
    Pre-claim lane: server — packages/platform-objects/src/identity/** (domain:server).
    Pre-claim deps: none named; #35162 (the Add User twin) is merged.
    Prior rulings read: PR #35162 contract record 6973921268 (N2); triage 6974142574; regrade 6984601350; reverse pins: grep "told again" → only the producer, generated translations, CHANGELOG and an unrelated plugin-auth ledger line.

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 19, 2026
  8. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZiaBg6rk7dpy1s9Me

    Close-out 2026-11-19T02:12Z: PR #35274 MERGED as 4026c44343 (folded under #34889); Fixes closed this card. Delivered: Import Users labels alreadyPending "Already pending"; "told" stays with the host columns; 11 bundles. The released 18.5.0 CHANGELOG sentence (comment 6974439913) is corrected in docs PR #35275, MERGED as 227b54ef56. Follow-up of the same PR: #35282. pm:dispatched off.

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

Metadata

Metadata

Assignees

Labels

area:uxbugdomain:serverfindingpriority:p2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions