Add mirror params to API update allow list
What does this MR do and why?
Add mirror params to API update allow list
Add the mirror_trigger_builds parameter to update_params_at_least_one_of allow list so they can be updated independently via the API. Previously, updating these parameters alone via PUT /api/v4/projects/:id returned a 400 error requiring at least one parameter from the allow list.
Closes #417081 (closed)
EE: true
Changelog: fixed
Local verification
Follow the steps in #417081 (closed) on master and see the issue is reproduced.
Follow the steps again on 417081-fix-mirror-params-api-isolation and see the field is able to be updated in isolation without error.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #417081 (closed)