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: