Bonobo-Git-Server icon indicating copy to clipboard operation
Bonobo-Git-Server copied to clipboard

Restrict push into master branch

Open carloshi opened this issue 3 years ago • 0 comments
trafficstars

I need to restrict push operations on the master branch to only one of the teams registered in Bonobo. I tried to do it using the pre-receive hook on the server, but I don't know how to get the teams for the user who do the push. It be useful have a variable like AUTH_USER that contains the list of the teams for that user.

carloshi avatar Feb 12 '22 14:02 carloshi