Admins set local display names (#729) + license.go grace comment #830
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-729"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements the three approved mockups. v0.6.314.
Server
POST /api/v1/admin/local-usersaccepts an optionaldisplayName(trimmed, ≤64, same rule as self-service; sharedvalidDisplayName).PUT /api/v1/admin/local-users/{name}/display-name(admin-only): set or clear; 404 for an unknown account; audited as the new registry verbuser-display-name(Note = the new name).displayName.Web (i18n ×4)
Also:
internal/license/license.gocomment said "7-day" grace; now 30-day (#799).Docs: users-access (kebab table + paragraph), local-accounts (create fields, audited verbs), account.md (admins can also set it), CHANGELOG v0.6.314.
Verified on a local build: created
clara.weberwith "Clara Weber" through the dialog, the row reads "Clara Weber clara.weber", the menu order is Edit display name / Reset password / Make admin / Remove picture / Delete user, editing to "Clara M. Weber" saved and refreshed the row. Tests: API test (create with name, edit, list, clear, >64 → 422, unknown → 404, two audit events), web pin qa729; full Go + web suites green.