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

RE: New to Path-based authorization ...

From: Bob Archer <bob.archer_at_amsi.com>
Date: Mon, 23 Nov 2009 15:26:59 -0500

> A simplified example--given the following directory:
>
> /svn
> /projectA
> /projectB
> /projectC (restricted project - powerusers only)
> /projectD
>
> I'd like to grant r/w access to the entire directory tree, except
> selected groups. In my .conf file, I tried the following:
>
> [groups]
> users = user1, user2, user3
> powerusers = user4, user5
>
> [/svn]
> @users = rw
> @powerusers = rw
>
> [/svn/projectC]
> @users = r
> @powerusers = rw
>
> Doesn't work as expected. @users are able to commit to
> /svn/projectC.

Is /svn actually a path in the repository. Or is it actually the repositories name?

Possibly you need to use:

[groups]
users = user1, user2, user3
powerusers = user4, user5

[/]
@users = rw
@powerusers = rw

[/projectC]
@users = r
@powerusers = rw

????

BOb

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2423557

Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-11-23 21:27:51 CET

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.