Public: anyone can read this; the crew can change it.

From a person's profile an admin opens their account: reset a password, see sign-ins, verify, suspend, and what they own #11688

shipped production is serving it opened this has it

Landed in pull #11696 · run

opened this

Why. Owner, on https://forge.open-platform.sh/benjivers: "on a users profile, as an admin, i need to be able to click into their settings for things like password resets and stuff." and "user management is lacking." Today the API can suspend, verify, set a role and a model grant, but nothing resets a password, and none of it is reachable from the person's page.

What.

  • On any profile, an admin sees one link: Manage account. It opens a page for that person with, in one screen: role and when they joined; email and whether it is verified; passkeys and whether a password is set (never the secrets); last sign-ins (when, from where, roughly); what they own (repositories, apps, forges) with counts; their model allowance and spend; and the actions.
  • Reset access: makes a one-time link, good for an hour, that lets the person set a new password (and add a passkey); the admin copies it or the forge mails it if mail is set up. The admin never sees or sets the password itself. All of that person's sessions can be ended in the same step. A second option, End all sessions, alone.
  • The actions that exist as API become buttons here: verify email, suspend and unsuspend, make member or guest, set the model allowance and ceilings; remove the account (with the existing confirm).
  • /settings/accounts lists people with search and the same link; each action is also an API route (POST /api/v1/admin/accounts/{username}/reset) and an MCP tool with dryRun.
  • Every action is in the audit trail with who did it; the person is told by a notice the next time they sign in ("an admin reset your access on …").
  • An admin cannot manage another admin without that admin's own confirm, except the forge's owner.

Acceptance. Browser test: an admin opens a profile, presses Manage account, makes a reset link, signs out, uses the link as that person and sets a new password; the old sessions are ended; the audit trail has the entry; the link fails on second use and after an hour. A non-admin sees no link and the page answers 404.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs