Cannot protect branches from merge/push using specified user only.
Summary
When protecting a branch of a project, I cannot set one user "john.doe" only that is allowed to merge using the API. It keeps setting Masters as permissions to merge and user "john.doe" as permissions to push. I can set it manually in the UI but this is time consuming as we have many groups with many projects in each.
Steps to reproduce
Try to add one user alone eg:"john.doe" who is id=88 that can be Allowed to merge and Allowed to push using the API.
What is the current bug behavior?
When I use the API to protect a branch I only get the option allowed_to_push%5B%5D%5Buser_id%5D=88
to add this user but none to allow that user to merge also.
What is the expected correct behavior?
I want the specified user "john.doe" to be able to merge and push only. I don't want Masters to be able to merge.
Edited by Erich King