Remove policy bot users from Premium-tier projects with background migration
Why are we doing this work
Due to a bug in !210351 (merged) we have created a number of security policy bot users in Premium-tier projects, although security policies are an Ultimate-tier feature.
We need to write a background migration that iterates users.id scoped to bot users (partial index), and remove all bot users which don't belong to a project tthat aren't EE.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
TBD