Skip to content

docs(passkey): say that an administrator's new password deletes the user's passkeys - #688

Merged
marevol merged 1 commit into
mainfrom
docs/passkey-admin-password-reset
Nov 29, 2026
Merged

marevol merged 1 commit into
mainfrom
docs/passkey-admin-password-reset

Conversation

@marevol

@marevol marevol commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The "Relation to the password" section of the 15.10 passkey page (config/security-passkey.rst) said that a password change, including an administrator setting a new password, does not delete the registered passkeys. That is no longer true since codelibs/fess#3887.

This updates the section in all seven languages (en, ja, de, es, fr, ko, zh-cn):

  • A user changing their own password ("Change Password" / /profile, the forced password change on the login form, or POST /api/v2/auth/password) keeps their passkeys.
  • A new password set under "User" in the administration screen or with password in PUT /api/admin/user/setting deletes all passkeys of that user, also when an administrator edits their own account there. One DELETE_PASSKEY audit record is written per deleted passkey (already documented in install/security.rst).
  • An edit without a new password (only roles, for example) and an edit refused because the user was changed after it was read keep the passkeys.
  • To delete passkeys without changing the password, an administrator still uses "Reset" on the user details page.
  • New bullet for fix(passkey): refuse a registration that completes after the password of the user was changed fess#3934: a registration that completes in a session that a password change ends is refused with 401, even when it started before the change, and no passkey is stored.

The "Administrator actions" section gets one sentence saying that setting a new password for the user deletes all of their passkeys.

Only the 15.10 (development) pages are changed. No other 15.10 page repeated the old claim; install/security.rst already describes the deletion in the DELETE_PASSKEY row.

Verification

  • Checked against the fess source on main: UserService#store (deletes passkeys after a successful conditional write when a new password is set on a stored user), UserService#changePassword (no passkey deletion), AdminUserAction / ApiAdminUserAction update (audit records), and PasskeyAccountHandler register/verify (401 auth_required and removal of a just-stored passkey).
  • Built the 15.10 tree of each language with Sphinx (dummy builder); no warnings for the changed page.

…ser's passkeys

The "Relation to the password" section of the 15.10 passkey page said that
neither a user's own password change nor an administrator setting a new
password deletes the registered passkeys. Since fess#3887, a new password
set on the user edit screen or with PUT /api/admin/user/setting (also on an
administrator's own account) deletes all passkeys of the user, with one
DELETE_PASSKEY audit record each, while a user changing their own password
on the Change Password page, with the forced password change at login or
with POST /api/v2/auth/password keeps them. An edit without a new password, or one refused because the user
was changed after it was read, keeps them too.

Also document fess#3934: a passkey registration that completes in a session
that a password change ends is refused with 401 and stores no passkey.

Updated in all seven languages of the 15.10 page, with a short note in the
"Administrator actions" section.
@marevol
marevol force-pushed the docs/passkey-admin-password-reset branch from f2441fb to 373e30c Compare November 29, 2026 00:23
@marevol
marevol merged commit 239365b into main Nov 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant