I have GITOLITE on my server and I want to configure access to my repository. I want to restrict access to some branches for some users. I try a lot of variants how to configure gitolite.conf file and I didn’t find solution how to restrict acces to some branches.

It’s look like good, but when he try to push something into the master branch he had this meesage to.

I tryed mix this lines in my gitolite config file but they didn’t work for me.

I will be happy if someone can help me with it. I want to restrict write access to some branches for some developers. I cann’t create additional repository I must to use restrict policy on one main repository.