I have shared mercurial repositories using hgwebdir with lighttpd. I don't know how to implement permisions for pull and pull push. I have few repositories eg repo1 and repo2. How I can add permission for specific user to do for eg to pull and pull & push for each repository(john have pull on repo1 and pull and push on repo2 and so on)? To prevent access to ip/repo/hgwebdir.cgi i used htdigest and it worked fine(it is a home project and we don't store any important informations so no need for ssl). But I don't know how to get control over repositories access.
Thx in advance
P.S I found that hgrc might have option allow_push = user but the user is the name in hgrc on my local computer or what? Is there any option like this for pull?