Re: [viewvc-users] SVN Permissions file and remote repository

"C. Michael Pilato" <[email protected]> Mon, 30 Jan 2012 14:12:00 -0500
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4F26EB80.3020009__2991.56239857457$1327950726$gmane$org@collab.net>
On 01/30/2012 01:41 PM, Noggle, Matthew wrote:
> We have a repository that we access via URL and were wondering if ViewVC can
> still use the SVN permissions file for setting repository access by URL. We
> have restricted parts of our repository and would want to make sure that
> only users who have access to those parts have the ability to browse or edit
> them using ViewVC. Is this possible?

By "access via URL", I will assume that you mean that ViewVC is configured
on one machine to display a repository hosted on another, using the URL of
that repository in the svn_roots configuration option.  If that's a bogus
assumption, stop reading here and clarify instead.  :-)

ViewVC expects to have full read access to the entirety of the repositories
that it serves up.  So, whatever user the ViewVC process uses to connect to
that remote repository needs to be granted full read access to the
repository on the Subversion server.

That said, ViewVC will gladly apply local access file rules to any
repository -- it doesn't even have to be a Subversion one!  If you can find
a way to keep a copy of your Subversion access file up-to-date on the ViewVC
server, you should be able to use those rules to mirror the access
configuration that Subversion itself is applying over on the Subversion server.

Caveat:  Honoring of the access rules by the remote Subversion module is
incomplete. See http://viewvc.tigris.org/issues/show_bug.cgi?id=353.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2913054

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk8m64AACgkQokEGqRcG/W7gRQCdH0HpUzvTYgsNYdxijgj/Psbj
hTYAni+xlNqQ+z+YScmy91YTIi3/yVKW
=5LPi
-----END PGP SIGNATURE-----