Deleted accounts: restore a kept account or destroy it now #173

Merged
jcoffey-dev merged 1 commits from feat/172-deleted-accounts into main 2026-11-08 07:04:52 +00:00
Owner

Fixes #172.

A new Deleted Accounts page under Management > Directory lists accounts kept by account retention and lets an admin restore one (a new password for a person, none for a group) or destroy it now, after typing its name. Refusals from the server, like a legal hold or a weak password, are shown as they come.

The menu link comes from the server schema in inbuxa/inbuxa-server#315. Without that, the page is reachable only by URL.

Typecheck, lint, i18n, tests and build pass locally.

Fixes #172. A new Deleted Accounts page under Management > Directory lists accounts kept by account retention and lets an admin restore one (a new password for a person, none for a group) or destroy it now, after typing its name. Refusals from the server, like a legal hold or a weak password, are shown as they come. The menu link comes from the server schema in inbuxa/inbuxa-server#315. Without that, the page is reachable only by URL. Typecheck, lint, i18n, tests and build pass locally.
jcoffey-dev self-assigned this 2026-11-08 07:02:03 +00:00
jcoffey-dev added 1 commit 2026-11-08 07:02:03 +00:00
Deleted accounts: restore a kept account or destroy it now
ci / build (pull_request) Skipped
ci / publish (pull_request) Skipped
ci / notices (pull_request) Successful in 17s
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m18s
dc1cb56ba7
With account retention set, a deleted account is kept for the period
with its name and addresses held, and until now the only way to restore
it or free them early was a raw inbuxa:DeletedAccount call. The new page
under Management > Directory lists kept accounts, soonest to go first,
and restores one (a person with a new password, a group with none) or
destroys it now after the name is typed to confirm. The server's reasons
for a refusal, such as a legal hold or a weak password, are shown as
they come.

Shown to whoever may read accounts; restore needs sysAccountCreate and
destroy sysAccountDestroy, the same checks the server makes. The menu
link comes from the server's schema (inbuxa-server #315).

Fixes #172
jcoffey-dev merged commit eb01cfeacc into main 2026-11-08 07:04:52 +00:00
jcoffey-dev deleted branch feat/172-deleted-accounts 2026-11-08 07:04:52 +00:00
Sign in to join this conversation.