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

permissions for a multi-repository svn store

From: Jeffrey McManus <jeffreyp_at_well.com>
Date: 2004-01-05 01:06:37 CET

Hey everybody, long-time listener, first-time caller. I hope this question
isn't too boneheaded, but there's only one way to find out, so here goes...

I am running Subversion (0.35.1 on Apache on, cough, Windows 2000 Server, if
that matters) and I have several repositories. Currently the way I have
things set up, only I have access to all of the the repositories on my
server (that is, only I can check in, and only I can check out -- it's the
opposite of a roach motel). This all works OK for replicating my own stuff
between home and work.

I accomplished this by mangling httpd.conf thusly:

<Location /svn/>
  DAV svn
  SVNParentPath d:\svn
  AuthType Basic
  AuthName "Subversion repository"
  AuthUserFile passwd
  Require valid-user
</Location>

and plugging my username and password into the passwd file. No problem
there.

But I've got several repositories on this machine that I would like to
provide different levels of access to. I'd like /svn/repos-1 to continue to
be accessible for check-in and check-out by me only, for /svn/repos-2 to be
accessible for check-in by me only and check-out by anybody, and
/svn/repos-3 to be accessible for both check-in and check-out by my crack
team of ninjas bent on world domination.

How do I do this? Admonitions to RTFM would be welcome *if* the FM actually
has a section that covers these scenarios (in which case, let me know where
it's at and I'll skulk away in shame). I suspect that these scenarios will
wind up being pretty common in the real world in the future, but it also
seems possible that the specific procedure for this may be hidden in the
interstellar void between Subversion documentation and Apache documentation.
I did take a look at the SVN docs (specifically, the "Permissions,
Authentication and Authorization" section) and couldn't really find an
example that covers what I want to do. But again, that could just be me
being a bonehead.

Thanks in advance,

Jeffrey

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 5 01:05:45 2004

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.