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
maintainer
user toproject a
via a custom role with theadmin_merge_request
permission. - add
developer
user toproject a
via project membership permissions. - submit a merge request to
project a
withdeveloper
as the author. - approve the merge request as the
maintainer
user.
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