Paradaux

PAR-221

0

Admin tool: account management — rename, change owner, archive/unarchive

DoneUnassignedEconomy ExplorerFeature

Admin-gated /admin/accounts tool to administer individual accounts via the SERVICE-scoped admin endpoints (sibling Treasury API tranche):

  • Rename an account (display name).

  • Change owner (by UUID or player name) — surfaced guard for the one-PERSONAL-per-player rule.

  • Archive / unarchive an account.

  • lib/treasury.ts: adminRenameAccount, adminChangeAccountOwner, adminArchiveAccount, adminUnarchiveAccount.

  • lib/actions/admin-accounts.ts: admin-gated, each audited (explorer_audit, target_type account).

  • UI: search an account (id/name/owner via existing account DAL), show its current state (type/owner/archived/balance), and the actions; confirm for archive/owner-change.

  • Reuses the admin gate + lib/treasury.ts client from PAR-209.

Resources

Comments

No comments yet.

Activity

  • ParadauxIO linked a commit — Commit 20c1582 — Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)
  • ParadauxIO changed status to Status → Done
  • ParadauxIO linked a pull request — PR #25 merged — Release develop → main: admin tools batch (PAR-219/220/221/222/224)
  • ParadauxIO linked a pull request — PR #25 open — Release develop → main: admin tools batch (PAR-219/220/221/222/224)
  • ParadauxIO linked a commit — Commit 20c1582 — Admin tools: move money, account mgmt, ledger filtering, firm details + reports (PAR-219/220/221/222/224)
  • tesks created the issue