Skip to content

Delete invalid protected ref access levels

Jerry Seto requested to merge revert-345140-migrations into master

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:

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.

Edited by Jerry Seto

Merge request reports