Problem with configuration - access at both branch and rep level

301 views
Skip to first unread message

Howard Miller

unread,
Dec 8, 2010, 7:34:02 AM12/8/10
to gito...@googlegroups.com
Sorry for cross-posting this - I only just found this group. I'm having trouble getting the config to work.... Here is the problem section...

repo myproject
    RW = howard derick zebedee dougal dylan morgaine florence 
    RW  management = mario
    R   cvshead = mario
    RW  version_2 = luiz uat

I want howard, derick etc. to have access to the complete repository - they do!

However, I only want luiz and uat to have access to the branch version_2. However, they have full access to the repository. I read the docs but it doesn't seem to mention this possibility (mentions either complete repo or branch-by-branch). Is what I want to do possible?

Many thanks,

Sitaram Chamarty

unread,
Dec 8, 2010, 9:13:18 AM12/8/10
to Howard Miller, gito...@googlegroups.com

Please specify if you mean write access or read access.

Gitolite's per-branch stuff works only for write access. It
doesn't work for read access because git itself does not
support making that distinction.

The normal way to do that is to use separate repos. Gerrit
Code Review does support it, because they don't use the
normal git engine; they have their own Java based git engine
(as well as their own sshd, etc).

--
sitaram

Howard Miller

unread,
Dec 8, 2010, 9:19:43 AM12/8/10
to Sitaram Chamarty, gito...@googlegroups.com
Hello,

Thanks for the reply. It's obvious as soon as somebody points it out. 

Yes - I was expecting it to control read access too. Stupid me :)

Thanks for your help.

Howard
Reply all
Reply to author
Forward
0 new messages