Add endpoint to update group approval rules
What does this MR do and why?
Add endpoint to update group approval rules
Contributes to #440639 (closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Create a group
- Create an approval rule (e.g
curl --request POST --header "PRIVATE-TOKEN: <sometoken>" --url 'http://gdk.test:3000/api/v4/groups/2941/approval_rules?name=test&approvals_required=2'
) - Update the approval rule (e.g
curl --request PUT --header "PRIVATE-TOKEN: <sometoken>" --url 'http://gdk.test:3000/api/v4/groups/2941/approval_rules/1?name=test2&approvals_required=3'
)
Related to #440639 (closed)
Edited by Jerry Seto