LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mercurial permissions (https://www.linuxquestions.org/questions/linux-software-2/mercurial-permissions-799820/)

artur13 04-03-2010 04:14 PM

Mercurial permissions
 
Hello,
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
Greetings
Artur
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?


All times are GMT -5. The time now is 07:36 AM.