Cleanup invalid deploy access levels for protected environments
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
- Run the migration
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #330483 (closed)
Edited by Allen Cook