[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: per directory access control issue on multiple repository with Apache

From: Denis SAGET <geodni_at_free.fr>
Date: 2007-05-25 10:23:28 CEST

Andy Levy wrote:
> On 5/24/07, Denis SAGET <geodni@free.fr> wrote:
>> global_authz:
>> =============
>>
>> [groups]
>> admin = myusername
>> myrepocontrib = user1, user2, user3
>> myrepoV1contrib = user1, user2
>> otherrepo = user1, user4, user5
>>
>> [/]
>> @admin = rw
>> * =
>>
>> [myrepo:/]
>> @admin = rw
>> @myrepocontrib = rw
>> * = r
>>
>> [rmyrepo:/myrepo-core/taglib]
>> @admin = rw
>> @myrepocontrib = rw
>> user4 = rw
>> * = r
>>
>> [myrepo:/myrepo-coreV1]
>> @admin = rw
>> @myrepoV1contrib = rw
>> #* =
>>
>> [otherrepo:/]
>> @admin = rw
>> @otherrepo = rw
>> * =
>
> Reverse the order of these - put the * = lines FIRST, then the other
> settings after. IIRC, you're saying "give these groups RW access -
> then remove access for everyone."
I tried with this order in the authz file
[myrepo:/myrepo-coreV1]
* =
@myrepoV1contrib = rw
@admin = rw

It does change anything I still have "Access denied: - GET
myrepo:/myrepo-coreV1 and no authentication is prompted for anybody.
Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 25 10:21:27 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.