Add ability to block words in usernames (#35407)

This commit is contained in:
Eugen Rochko 2025-07-29 12:19:15 +02:00 committed by GitHub
parent 8cf7a77808
commit 20bbd20ef1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 560 additions and 34 deletions

View file

@ -77,6 +77,9 @@ class Admin::ActionLogFilter
update_user_role: { target_type: 'UserRole', action: 'update' }.freeze,
update_ip_block: { target_type: 'IpBlock', action: 'update' }.freeze,
unblock_email_account: { target_type: 'Account', action: 'unblock_email' }.freeze,
create_username_block: { target_type: 'UsernameBlock', action: 'create' }.freeze,
update_username_block: { target_type: 'UsernameBlock', action: 'update' }.freeze,
destroy_username_block: { target_type: 'UsernameBlock', action: 'destroy' }.freeze,
}.freeze
attr_reader :params