API for overriding Merge Request Approval rules
Problem to solve
The API cannot be used to override merge request approval rules.
When overriding merge request approval rules is allowed, it is possible to override the approval rules via the interface, but not via the API. This prevents automation via the API, which is most relevant for per merge request changes for automating custom policies or workflows.
Intended Users
Developers
Further details
The Merge Request Approvals API is important to customers who implement automation and policy tools around GitLab, and it is important that the API support the core features of GitLab.
Proposal
Extend the Merge Requests Approval API so that, in addition to viewing the approval requirements for a merge request, a developer will be able to:
- edit approval rules
- create new approval rules
- remove approval rules
Permissions and Security
Permissions of the API should be consistent with interface permissions of the user performing the operation.
Documentation
Update the Approvals API documentation