Deleted Accounts page: restore a kept account or destroy it now #172

Closed
opened 2026-11-08 06:32:34 +00:00 by jcoffey-dev · 1 comment
Owner

Kept (deleted) accounts can't be managed from the console. With account retention set, a deleted account is kept for the period and its name and addresses stay reserved, but the only way to restore it or destroy it early is a raw inbuxa:DeletedAccount/get / /set call. Someone on the forum (https://community.coffeylabs.org/t/232) got stuck there and started looking at RocksDB.

Add a Deleted Accounts page, next to Accounts:

  • list from inbuxa:DeletedAccount/get (name, addresses, deleted at, kept until, tenant)
  • Restore, which needs a new password (update: {restore: true, password}), with the same password checks as account create
  • Destroy now, with a confirm that says it can't be undone (destroy). Accounts under a legal hold are refused by the server, so show that error as-is.
  • only shown to admins with the account permissions the server checks (get: sysAccountGet, restore: sysAccountCreate, destroy: sysAccountDestroy)

Related: when a delete comes back objectIsLinked, the Domains page should show the server's description of what's linked rather than a blank or generic error. The server side of that is in inbuxa-server.

Kept (deleted) accounts can't be managed from the console. With account retention set, a deleted account is kept for the period and its name and addresses stay reserved, but the only way to restore it or destroy it early is a raw `inbuxa:DeletedAccount/get` / `/set` call. Someone on the forum (https://community.coffeylabs.org/t/232) got stuck there and started looking at RocksDB. Add a Deleted Accounts page, next to Accounts: - list from `inbuxa:DeletedAccount/get` (name, addresses, deleted at, kept until, tenant) - Restore, which needs a new password (`update: {restore: true, password}`), with the same password checks as account create - Destroy now, with a confirm that says it can't be undone (`destroy`). Accounts under a legal hold are refused by the server, so show that error as-is. - only shown to admins with the account permissions the server checks (get: sysAccountGet, restore: sysAccountCreate, destroy: sysAccountDestroy) Related: when a delete comes back `objectIsLinked`, the Domains page should show the server's description of what's linked rather than a blank or generic error. The server side of that is in inbuxa-server.
jcoffey-dev added the
priority
p2
enhancement
labels 2026-11-08 06:32:34 +00:00
jcoffey-dev self-assigned this 2026-11-08 06:32:34 +00:00
Author
Owner

Done in #173, with the menu link from inbuxa/inbuxa-server#315. Management > Directory > Deleted Accounts lists kept accounts and restores one or destroys it now. It goes out with the next 27.1 rc of the console and server.

Done in #173, with the menu link from inbuxa/inbuxa-server#315. Management > Directory > Deleted Accounts lists kept accounts and restores one or destroys it now. It goes out with the next 27.1 rc of the console and server.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-admin#172