Re: [viewvc-users] Integration of svn authz file
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 01/05/2011 12:26 PM, [email protected] wrote: > I’m new to viewvc, and am working off of a preconfigured installation that > was here before I started. The guy who configured it is gone. > > I’ve recently added an svnauthz file to the svn configuration, which works > perfectly. I’m trying to now configure ViewVC to use that svnauthz file, > but am running into problems. I’m sure the problem is I just don’t > understand what I’m doing! J > > So this is the viewvc.conf file in /etc/viewvc/: [...] > From my reading of whatever I could get ahold of using google, I’ve added > the following lines: > > To the [options] section: > authorizer = svnauthz > > and then: > [authz-svnauthz] > authzfile = /path/to/svnauthz_file > > After I add those lines, it still doesn’t use the authz file. Users are > able to fully browse the entire repo regardless of the restrictions. What version of ViewVC are you running? The presence in your configuration file of options like 'use_enscript' and 'py2html_path' would seem to indicate either that you are running ViewVC 1.0.x (which doesn't offer the authorizer feature at all), or that your configuration was not very carefully migrated when you guys upgrade from ViewVC 1.0.x to ViewVC 1.1.x. Assuming you're running ViewVC 1.1.x, is your ViewVC *authentication* -- that is, whether or not users are required to provide a username/password or some other identifying credentials -- configured the same way that your Subversion authentication is? -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2696146 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) iEYEARECAAYFAk0ktWIACgkQokEGqRcG/W7loACaA4yONcU/WsFFpwZDknBiPPuY jAYAoIgr7MJlp5z3pfk7LjYemdRYObyT =N1MI -----END PGP SIGNATURE-----