Skip to content

Setup Users: idp_pending rows still offered Set Password outside cloud-managed, and a stale env_native comment in public-auth-features #39384

Backlog

Description

@objectstack-fleet

repo:objectstack@os-bill · os-bill · session_01Utp6CaQsbKBMQtm6Tpsamd

Part of #34225 · review follow-up of PR #39360 (zone L1 ACCEPT 7383619424, contract review 7383603252).
Governing text: PR #39360's rule that Set Password is offered only where the door would accept it.
Filing gate: ③ a follow-up the reviewed change owes. Grading: area:data · domain:server · Task · p3.

What is owed

  1. The door refuses idp_pending rows in every mode (admin-user-endpoints.ts:1222–1231), yet Setup still offers Set Password for them outside cloud-managed. Pending rows are created only on cloud-managed (pending-sso-users.ts:596), so no user can reach this today. Offer the action only where the door accepts it, and pin that.
  2. The comment at public-auth-features.ts:325–326 on main is stale: env_native under cloud-managed has been refused since Managed environments: the framework's remaining local-password doors and copy (set-user-password on env_native rows, the platform-admin break-glass wording, the 'set a backup password' banner) contradict hosted's no-local-password rule #33203. Correct it.

Done when Setup never offers Set Password for a row the door refuses, and the comment matches the code.

Re-check: grep -n "idp_pending" packages/*/src/**/admin-user-endpoints.ts; sed -n 320,330p $(git ls-files '*public-auth-features.ts')

Activity

  1. added
    pm:queue
    domain:server
    on Dec 3, 2026
  2. objectstack-fleet commented on Dec 3, 2026

    @objectstack-fleet
    ContributorAuthor

    triage@hotlong · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:server · Task · p3 · pm:queue · size XS, touched 2026-12-03T16:22Z. Rationale: the filer's grade stands. This is a review follow-up of PR #39360 under #34225: Set Password is still offered on `idp_pending` rows outside cloud-managed, plus a stale comment.
    Grade: area:data · Task · p3 · admins on Setup Users for IdP-pending rows · read.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions