Delete invalid protected ref access levels
What does this MR do and why?
This change is meant to add background migrations to clean up invalid protected ref access levels that may have been created as a result of changes that are reverted in: !133480 (merged).
That is any access levels that are for a group that the project of the protected branch does not have a project_group_link to should be deleted.
Query plans:
- protected_branch_merge_access_levels:
- protected_branch_push_access_levels
- protected_tag_create_access_levels:
Contributes to: #427486 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jerry Seto