Add: 管理画面での操作履歴フィルタにkmyblue独自項目 (#635)
This commit is contained in:
parent
cfb808b915
commit
8cb4838fb1
4 changed files with 15 additions and 1 deletions
|
@ -16,6 +16,8 @@ class Admin::ActionLogFilter
|
|||
confirm_user: { target_type: 'User', action: 'confirm' }.freeze,
|
||||
approve_user: { target_type: 'User', action: 'approve' }.freeze,
|
||||
reject_user: { target_type: 'User', action: 'reject' }.freeze,
|
||||
approve_remote_account: { target_type: 'Account', action: 'approve_remote' }.freeze,
|
||||
reject_remote_account: { target_type: 'Account', action: 'reject_remote' }.freeze,
|
||||
create_account_warning: { target_type: 'AccountWarning', action: 'create' }.freeze,
|
||||
create_announcement: { target_type: 'Announcement', action: 'create' }.freeze,
|
||||
create_custom_emoji: { target_type: 'CustomEmoji', action: 'create' }.freeze,
|
||||
|
@ -60,6 +62,8 @@ class Admin::ActionLogFilter
|
|||
update_announcement: { target_type: 'Announcement', action: 'update' }.freeze,
|
||||
update_custom_emoji: { target_type: 'CustomEmoji', action: 'update' }.freeze,
|
||||
update_status: { target_type: 'Status', action: 'update' }.freeze,
|
||||
force_cw_status: { target_type: 'Status', action: 'force_cw' }.freeze,
|
||||
force_sensitive_status: { target_type: 'Status', action: 'force_sensitive' }.freeze,
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue