Skip to content

Cleanup invalid deploy access levels for protected environments

Allen Cook requested to merge 330483-cleanup-pe-invalid-access-level into master

What does this MR do and why?

Updates any protected_environment_deploy_access_levels that have a user_id or group_id set to have no access_level, as that's an invalid configuration

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

  1. Run the migration
  2. Ensure there's no invalid records left
 count
-------
     0
(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 #330483 (closed)

Edited by Allen Cook

Merge request reports

Loading