diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 17:05:05 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-31 17:05:05 +0200 |
| commit | 8c6a6516e1dc5c1b4f12740a6f7b32765b530bb7 (patch) | |
| tree | e40a1da656bedef0662f0e984b4e3b00b374bc1d /config/locales/en.yml | |
| parent | 464dd4266bdc433805010b5dca428f4cb75c2a81 (diff) | |
Replace user deletion with deactivation
Deactivation adds the alumni role and leaves the others in place, so
reactivation is lossless and nobody has to remember what an account held.
login_from_session checks alumni? on every request, so a signed-in user is
locked out on their next one without any session invalidation. Guards
prevent deactivating yourself or the last active admin, and both verbs are
witnessed in the action log.
Diffstat (limited to 'config/locales/en.yml')
| -rw-r--r-- | config/locales/en.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index f8b94a00..e434538f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml | |||
| @@ -167,6 +167,8 @@ en: | |||
| 167 | otp_enroll: "%{actor} set up a second factor" | 167 | otp_enroll: "%{actor} set up a second factor" |
| 168 | otp_disable: "%{actor} removed their second factor" | 168 | otp_disable: "%{actor} removed their second factor" |
| 169 | otp_reset: "%{actor} reset the second factor of %{target}" | 169 | otp_reset: "%{actor} reset the second factor of %{target}" |
| 170 | user_deactivate: "%{actor} deactivated %{target}" | ||
| 171 | user_reactivate: "%{actor} reactivated %{target}" | ||
| 170 | 172 | ||
| 171 | open_gallery: "Open gallery" | 173 | open_gallery: "Open gallery" |
| 172 | asset_licenses: | 174 | asset_licenses: |
| @@ -229,6 +231,9 @@ en: | |||
| 229 | user: | 231 | user: |
| 230 | confirm_destroy: "Do you really want to destroy user %{login}?" | 232 | confirm_destroy: "Do you really want to destroy user %{login}?" |
| 231 | no_roles: "—" | 233 | no_roles: "—" |
| 234 | deactivate: "Deactivate" | ||
| 235 | reactivate: "Reactivate" | ||
| 236 | confirm_deactivate: "Deactivate %{login}? Sign-in is refused immediately; attributions are preserved." | ||
| 232 | index: | 237 | index: |
| 233 | title: "User accounts" | 238 | title: "User accounts" |
| 234 | create_editor: "Create editor account" | 239 | create_editor: "Create editor account" |
| @@ -541,6 +546,9 @@ en: | |||
| 541 | created: "User created %{login}" | 546 | created: "User created %{login}" |
| 542 | updated: "Updated user %{login}" | 547 | updated: "Updated user %{login}" |
| 543 | otp_reset: "Second factor reset for %{login}" | 548 | otp_reset: "Second factor reset for %{login}" |
| 549 | deactivated: "%{login} is now an alumnus and can no longer sign in." | ||
| 550 | reactivated: "%{login} can sign in again." | ||
| 551 | cannot_deactivate_self: "You cannot deactivate your own account." | ||
| 544 | assets: | 552 | assets: |
| 545 | created: "Asset was successfully created." | 553 | created: "Asset was successfully created." |
| 546 | updated: "Asset was successfully updated." | 554 | updated: "Asset was successfully updated." |
