Skip to content

Delete security_policy_bot user records

Andy Schoenen requested to merge 394959-clean-up-security-policy-bot-users into master

What does this MR do and why?

Users with type security_policy_bot got introduced in !103544 (merged), but it was reverted.

The first MR and the revert MR both got merged within %15.7 so it is unlikely that the MR got rollout out to self-managed users. But there is one record of a security_policy_bot user in the GitLab.com database that will be cleaned up with this MR.

SELECT count(1) FROM users WHERE user_type=10;
 count 
-------
     1
(1 row)

MR acceptance checklist

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

Related to #394959 (closed)

Merge request reports