Let administrators release an account from directory sign-in
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
An account that signs in only through its directory cannot add another way in, so it is stranded when directory sign-in is turned off or the person moves off the directory. In /admin → Users such an account now offers "Release from directory", confirmed like any change (release_directory on PATCH /api/admin/users/{id}): its ldap identity is unlinked, its sessions, challenges and desktop sign-ins end, its API keys are revoked, and a password-reset link goes to its confirmed address. It is recorded in the audit, and is never automatic. The user list reports directory_only. Forgot password now also serves an account with neither a password nor a linked sign-in (a released one), and still sends nothing, with the same answer, to accounts that sign in through a provider or the directory; a reset link is refused for a directory-only account. The administrator password reset command already gives a locked-out directory-only administrator a password, so no separate command is added. Docs and OpenAPI updated. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/885161bb86839159f6e7ee3d14b931083c471df7
Open Let administrators release an account from directory sign-in in the timeline