Using groups in mercurial allow_read, allow_push, etc.

I was wondering if it is possible to use the groups indicated, for example, in the authgroup apache file in allow_read and / or allow_push, etc.

Basically what I do, I use apache with authfile and authgroup file to authenticate users. Now I want to limit some repositories using allow_read to show users in a specific group specified in the authgroup file.

Say I have sam, frodo and sauron in my auth file, and I have a hobbits group containing sam and frodo in the authgroup file.

So instead of writing:

allow_read = frodo, sam

I tried

allow_read = @hobbits

but this does not seem to work. Does anyone know if this is really supported? The idea is that if I say that 10 repositories are available only to the hobbits and I add the hobbit, I need to change the authgroup and auth file, and not every hgrc repository file.

Thanks in advance

+5
source share
2 answers

Mercurial . , , , , , , . 2013 , , , Ubuntu (2.7).

Apache, Joel, - , , ( , ).

open-source SCM-Manager. SCM-Manager SVN, Git Mercurial ( LDAP Crowd), .

mod_proxy, Apache, .

+2
0

All Articles