Question

I'm currently developing a Python Fabric script that contains some sensitive information. I would like to put this in a repository for a certain few users to access.

I've put this in my hgrc file:

[web]
allowpull = false
allow_read = user1, user2
allow_push = user1

My problem is that I only want user1 to be able to clone and pull? Just to test I added the allowpull command which seems to be ignored?

Was it helpful?

Solution

Well, basically with read access, it is hard to deny clone and pull. If you want this granularity, try the ACL extension.

OTHER TIPS

If you are restricting access to https, then you could try using RhodeCode. See https://bitbucket.org/marcinkuzminski/rhodecode/.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top