Skip to content

Add more conditions before auto-banning a reported spammer

Eugie Limpin requested to merge el-add-more-condition-to-auto-ban-spammer into master

What does this MR do and why?

Resolves https://gitlab.com/gitlab-org/modelops/anti-abuse/team-tasks/-/issues/371

This MR builds on top of Auto-ban user when they are reported for spam by a GitLab team member. In addition to the original ones, it adds the following conditions that should be satisfied before a user is banned:

  • User account age <= 7 days
  • Not an owner of a namespace with a member count greater than 5; and,
  • Not a GitLab team bember

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 Eugie Limpin

Merge request reports