Jason House wrote:
> Is it possible to have multiple "branches" with shared history, but to
> restrict certain users from access to particular branches? Any guidance
> on how I could do this would be greatly appreciated.
Since branches are (if you follow the suggested structure) just
directories inside your repository you can use (if using mod_authz_svn,
or the upcoming (I think) support in svnserve for similar permission
controls) the mod_authz_svn access control file with something like:
[repos:/branches/branchname]
sally = r
* =
Or whatever permission model you want.
Restricting access via other tools that talk to your repository (such as
ViewCVS) depends on how the tool works. If it talks to the repository as
any client would then its access can be controlled. If however like
ViewCVS it talks locally directly to the repository I think you need
support in ViewCVS. I have hacked (badly) my copy of ViewCVS borrowing a
little code from the Trac project and some of my own in combination with
an Apache configuration that uses mod_authz_svn to apply basic auth to
my ViewCVS URLs too (extra code for the query.py part of ViewCVS was
required, this obviously cannot use URL based protection).
Ximon
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 18:12:29 2005