Skip to content

Resolve "Add GET endpoint for ApprovalGroupRules"

What does this MR do and why?

Add an endpoint to get group approval rules

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

  1. Create a group
  2. 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')
  3. Get the approval rule (e.g curl --request GET --header "PRIVATE-TOKEN: <sometoken>" --url 'http://gdk.test:3000/api/v4/groups/2941/approval_rules)

Related to #440638 (closed)

Edited by Jerry Seto

Merge request reports