Bonobo-Git-Server
Bonobo-Git-Server copied to clipboard
Restrict push into master branch
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.