Add ability to block words in usernames (#35407)
This commit is contained in:
1 parent
8cf7a77808
commit
20bbd20ef1
28 files changed
+560
-34
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user