|
|
|
@ -31,6 +31,7 @@ class Admin::ActionLogFilter
|
|
|
|
|
create_domain_block: { target_type: 'DomainBlock', action: 'create' }.freeze,
|
|
|
|
|
create_email_domain_block: { target_type: 'EmailDomainBlock', action: 'create' }.freeze,
|
|
|
|
|
create_ip_block: { target_type: 'IpBlock', action: 'create' }.freeze,
|
|
|
|
|
create_relay: { target_type: 'Relay', action: 'create' }.freeze,
|
|
|
|
|
create_unavailable_domain: { target_type: 'UnavailableDomain', action: 'create' }.freeze,
|
|
|
|
|
create_user_role: { target_type: 'UserRole', action: 'create' }.freeze,
|
|
|
|
|
create_canonical_email_block: { target_type: 'CanonicalEmailBlock', action: 'create' }.freeze,
|
|
|
|
@ -40,6 +41,7 @@ class Admin::ActionLogFilter
|
|
|
|
|
destroy_domain_allow: { target_type: 'DomainAllow', action: 'destroy' }.freeze,
|
|
|
|
|
destroy_domain_block: { target_type: 'DomainBlock', action: 'destroy' }.freeze,
|
|
|
|
|
destroy_ip_block: { target_type: 'IpBlock', action: 'destroy' }.freeze,
|
|
|
|
|
destroy_relay: { target_type: 'Relay', action: 'destroy' }.freeze,
|
|
|
|
|
destroy_email_domain_block: { target_type: 'EmailDomainBlock', action: 'destroy' }.freeze,
|
|
|
|
|
destroy_instance: { target_type: 'Instance', action: 'destroy' }.freeze,
|
|
|
|
|
destroy_unavailable_domain: { target_type: 'UnavailableDomain', action: 'destroy' }.freeze,
|
|
|
|
@ -49,8 +51,10 @@ class Admin::ActionLogFilter
|
|
|
|
|
disable_2fa_user: { target_type: 'User', action: 'disable_2fa' }.freeze,
|
|
|
|
|
disable_custom_emoji: { target_type: 'CustomEmoji', action: 'disable' }.freeze,
|
|
|
|
|
disable_user: { target_type: 'User', action: 'disable' }.freeze,
|
|
|
|
|
disable_relay: { target_type: 'Relay', action: 'disable' }.freeze,
|
|
|
|
|
enable_custom_emoji: { target_type: 'CustomEmoji', action: 'enable' }.freeze,
|
|
|
|
|
enable_user: { target_type: 'User', action: 'enable' }.freeze,
|
|
|
|
|
enable_relay: { target_type: 'Relay', action: 'enable' }.freeze,
|
|
|
|
|
memorialize_account: { target_type: 'Account', action: 'memorialize' }.freeze,
|
|
|
|
|
promote_user: { target_type: 'User', action: 'promote' }.freeze,
|
|
|
|
|
remove_avatar_user: { target_type: 'User', action: 'remove_avatar' }.freeze,
|
|
|
|
|