Add custom permission to `Approve Merge Requests`
What does this MR do and why?
This change makes it possible to define a custom role with the permission to approve a merge request.
How to set up and validate locally
- create a user
maintainer - create a user
developer - create a new project
project a - add
maintaineruser toproject avia a custom role with theadmin_merge_requestpermission. - add
developeruser toproject avia project membership permissions. - submit a merge request to
project awithdeveloperas the author. - approve the merge request as the
maintaineruser.
Additional instructions can be found here.
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.
Edited by mo khan