Re: [viewvc-dev] ViewVC 1.1
"Phil Pinkerton" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.devel |
|---|---|
| Message-ID | <c70ccaee0803280941n62dfb8f7w2b00ab41e26f3d34__32093.0383321413$1206722677$gmane$org@mail.gmail.com> |
See response inline below: On Fri, Mar 28, 2008 at 12:16 PM, C. Michael Pilato <[email protected]> wrote: > Phil Pinkerton wrote: > > As of viewvc-1.1-dev-2008328: > > > > The "svnauthz" authorizer does not seem to have any affect. > > > > Our viewvc-1.1 config file has the following configured: authzfile = > > /svn/conf/accessControl/svn.access > > Hrm. I'm using it quite successfully on svn.collab.net. This authorizer > does differ from the others, though, in that it can take usernames into > account. So here are some questions that might reveal a misstep: > > * Do you also have 'authorizer = svnauthz' set under the [general] section > of your configuration file? You can populate the values of "forbidden=" > and > "forbiddenre=" and "authzfile=" all day long, but if you don't enable the > authorizer with the "authorizer=" configuration line, the authorizer will > not be used. What is currently set: [general] -- (don't see authorizer = in this section of the conf file ) root_parents = /svn/Repositories : svn [utilities] svn = /svn/bin diff = /usr/local/bin/diff [options] -- ( everything not listed here is default or commented out ) authorizer = svnauthz authorizer = forbiddenre -- ( this is working perfectly ) template_dir = /svn/src/viewvc-1.1-dev-2008328/templates [authz-forbiddenre] -- ( working ) forbiddenre = Gandalf/branches/, Gandalf/tags/, Gandalf/trunk/svn_test_file_E.txt, Gandalf/trunk/svn_test_file_A.txt [authz-svnauthz] - ( Not working) authzfile = /svn/conf/accessControl/svn.access > > * Are the names of the repositories in the svn.access file the same as the > names of the roots under ViewVC? This may be the issue as we put nothing here it is the commented out - default #svn_roots = svn: /home/svnrepos > > > * Are you requiring all ViewVC users to provide usernames/passwords, where > the usernames match those found in your svn.access file? Yes we modified the httpd configuration file to use LDAP for ViewVC as well as Subversion this is working very well also. > > > -- > C. Michael Pilato <[email protected]> > CollabNet <> www.collab.net <> Distributed Development On Demand > > -- " The fundamental principle here is that the justification for a physical concept lies exclusively in its clear an unambiguous relation to the facts it can be experienced" AE