diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-12-17 23:01:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-17 23:01:21 +0100 |
commit | 7f803c41e2ca54b7b787b1f111f91357136c0e68 (patch) | |
tree | 4583b08c706ac25f05be5dc2908d52a55a71c81a /app/models/admin | |
parent | 0c17fd91091fd2f230224d5fce218688d480502c (diff) |
Add ability to purge undeliverable domains from admin interface (#16686)
* Add ability to purge undeliverable domains from admin interface * Add tests
Diffstat (limited to 'app/models/admin')
-rw-r--r-- | app/models/admin/action_log_filter.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/admin/action_log_filter.rb b/app/models/admin/action_log_filter.rb index 2af9d7c9c..d1ad46526 100644 --- a/app/models/admin/action_log_filter.rb +++ b/app/models/admin/action_log_filter.rb @@ -26,6 +26,7 @@ class Admin::ActionLogFilter destroy_domain_allow: { target_type: 'DomainAllow', action: 'destroy' }.freeze, destroy_domain_block: { target_type: 'DomainBlock', 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, destroy_status: { target_type: 'Status', action: 'destroy' }.freeze, disable_2fa_user: { target_type: 'User', action: 'disable' }.freeze, |