feat: user preview, bulk and record actions and the permanent delete

- the list opens the preview, which shows one status hint (banned,
  deactivated, not activated, suspended) and the IP address fields
- bulk actions activate, deactivate, restore, ban and unban; record
  actions activate, unban and unsuspend, offered while they apply
- delete (form button and bulk) removes the user for good with the
  throttle rows, group memberships and attachments in one transaction;
  blobs go after the commit
- a privileged-group member is still refused, a bulk delete as a whole
This commit is contained in:
Jakub Zych
2026-10-05 13:10:12 +02:00
parent ebaf3a0817
commit 970eba7734
12 changed files with 1125 additions and 15 deletions

View File

@@ -16,6 +16,40 @@ users:
state_banned: Banned
state_not_activated: Not activated
delete_confirm: Do you really want to delete this user? This user will be permanently removed and unrecoverable.
delete_selected_confirm: Delete the selected users? These users will be permanently removed and unrecoverable.
update_details: Update details
activate_selected: Activate selected
activate_selected_confirm: Activate the selected users?
activate_selected_success: Successfully activated the selected users.
deactivate_selected: Deactivate selected
deactivate_selected_confirm: Deactivate the selected users?
deactivate_selected_success: Successfully deactivated the selected users.
restore_selected: Restore selected
restore_selected_confirm: Restore the selected users?
restore_selected_success: Successfully restored the selected users.
ban_selected: Ban selected
ban_selected_confirm: Ban the selected users?
ban_selected_success: Successfully banned the selected users.
unban_selected: Unban selected
unban_selected_confirm: Unban the selected users?
unban_selected_success: Successfully unbanned the selected users.
banned_hint_title: User has been banned
banned_hint_desc: This user has been banned by an administrator and will be unable to sign in.
trashed_hint_title: User has deactivated their account
trashed_hint_desc: This user has deactivated their account and no longer wants to appear on the site. They can restore their account at any time by signing back in.
activate_warning_title: User not activated!
activate_warning_desc: This user has not been activated and may be unable to sign in.
suspended_hint_title: User is temporarily suspended
suspended_hint_desc: Too many failed sign-in attempts. The suspension ends on its own, or you can lift it now with Unsuspend user.
activate_user: Activate user
activate_confirm: Do you really want to activate this user?
activated_success: User has been activated
unban_user: Unban this user
unban_confirm: Do you really want to unban this user?
unbanned_success: User has been unbanned
unsuspend_user: Unsuspend user
unsuspend_confirm: Unsuspend this user?
unsuspend_success: User has been unsuspended.
privileged_member_forbidden: This user belongs to a privileged group. You do not have permission to change their email or password. Nothing was saved.
privileged_member_delete_forbidden: Users who belong to a privileged group cannot be deleted without the permission to manage privileged groups. Nothing was deleted.
user:

View File

@@ -16,6 +16,40 @@ users:
state_banned: Zbanowany
state_not_activated: Nieaktywowany
delete_confirm: Czy na pewno chcesz usunąć tego użytkownika? Zostanie trwale usunięty bez możliwości odzyskania.
delete_selected_confirm: Usunąć wybranych użytkowników? Zostaną trwale usunięci bez możliwości odzyskania.
update_details: Zaktualizuj szczegóły
activate_selected: Aktywuj wybranych
activate_selected_confirm: Aktywować wybranych użytkowników?
activate_selected_success: Pomyślnie aktywowano wybranych użytkowników.
deactivate_selected: Dezaktywuj wybranych
deactivate_selected_confirm: Dezaktywować wybranych użytkowników?
deactivate_selected_success: Pomyślnie dezaktywowano wybranych użytkowników.
restore_selected: Przywróć wybranych
restore_selected_confirm: Przywrócić wybranych użytkowników?
restore_selected_success: Pomyślnie przywrócono wybranych użytkowników.
ban_selected: Zbanuj wybranych
ban_selected_confirm: Zbanować wybranych użytkowników?
ban_selected_success: Pomyślnie zbanowano wybranych użytkowników.
unban_selected: Odbanuj wybranych
unban_selected_confirm: Odbanować wybranych użytkowników?
unban_selected_success: Pomyślnie odbanowano wybranych użytkowników.
banned_hint_title: Użytkownik został zbanowany
banned_hint_desc: Ten użytkownik został zbanowany przez administratora i nie będzie mógł się zalogować.
trashed_hint_title: Użytkownik dezaktywował swoje konto
trashed_hint_desc: Ten użytkownik dezaktywował swoje konto i nie chce już wyświetlać się na stronie. Może przywrócić konto w dowolnym momencie, logując się z powrotem.
activate_warning_title: Użytkownik nieaktywowany!
activate_warning_desc: Ten użytkownik nie został aktywowany i może nie być w stanie się zalogować.
suspended_hint_title: Użytkownik jest tymczasowo zawieszony
suspended_hint_desc: Zbyt wiele nieudanych prób logowania. Blokada wygaśnie sama; możesz też zdjąć ją teraz przyciskiem Odblokuj użytkownika.
activate_user: Aktywuj użytkownika
activate_confirm: Czy na pewno chcesz aktywować tego użytkownika?
activated_success: Użytkownik został aktywowany
unban_user: Odbanuj tego użytkownika
unban_confirm: Czy na pewno chcesz odbanować tego użytkownika?
unbanned_success: Użytkownik został odbanowany
unsuspend_user: Odblokuj użytkownika
unsuspend_confirm: Odblokować tego użytkownika?
unsuspend_success: Udało się odblokować użytkownika.
privileged_member_forbidden: Ten użytkownik należy do grupy uprzywilejowanej. Nie masz uprawnień do zmiany jego adresu e-mail ani hasła. Nic nie zostało zapisane.
privileged_member_delete_forbidden: Użytkowników należących do grupy uprzywilejowanej nie można usunąć bez uprawnienia do zarządzania grupami uprzywilejowanymi. Nic nie zostało usunięte.
user: