Skip to content

Add email to send to admin when a user is auto banned

Alex Buijs requested to merge banned-user-admin-email into master

What does this MR do and why?

This adds an email to alert an admin when a user is auto banned due to excessive repository downloads.

For use with the yet to be merged auto_ban_user_on_excessive_repo_downloads feature flag.

Issue: https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/13

Screenshots or screen recordings

HTML TEXT
Screen_Shot_2022-05-23_at_13.15.08 Screen_Shot_2022-05-23_at_13.15.13

How to set up and validate locally

Visit http://localhost:3000/rails/mailers/notify/user_auto_banned_email

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Alex Buijs

Merge request reports

Loading