Re: [viewvc-users] Support for "svnauthz" authorizer with query.cgi

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <[email protected]>
On 06/05/2011 06:02 PM, Asd Asdasd wrote:
> Hi,
> 
> I have configured ViewVC to use the svnauthz authorizer, however when I 
> enter a query via the query interface the following error appears in my
> browser:
> 
> Traceback (most recent call last): File
> "/usr/lib/python2.7/site-packages/viewvc/query.py", line 429, in main 
> commits = run_query(server, cfg, form_data, viewvc_link) File
> "/usr/lib/python2.7/site-packages/viewvc/query.py", line 404, in
> run_query cvsroots, viewvc_link)) File
> "/usr/lib/python2.7/site-packages/viewvc/query.py", line 330, in
> build_commit or is_forbidden(cfg, cvsroot_name, module)): File
> "/usr/lib/python2.7/site-packages/viewvc/query.py", line 300, in
> is_forbidden "use a different one." % (cvsroot_name)) Exception: The
> 'forbidden' authorizer is the only one supported by this interface.  The
> 'sysadmin' root is configured to use a different one.
> 
> If I use the "svnauthz" authorizer for the regular ViewVC interface, i.e.
> viewvc.cgi, then it looks like I cannot use query.cgi. Is this correct?

That is correct.

> If yes, are there any future plans to support the usage of the "svnauthz"
> authorizer with the query interface?

No.

> If no, then how can I configure ViewVC to get the query interface to work
> with an "svnauthz" authorizer. The regular interface (viewvc.cgi) works
> fine with the svnauthz and authzfile settings I have.

Is there any reason that you can't use the integrated query mechnanism that
ViewVC provides?

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

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

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)

iEYEARECAAYFAk3s714ACgkQokEGqRcG/W45+QCgx6V8kiG4xB410K9GU9XEDBen
XIMAn11leNkdk9+OuS3osqbhaehkXfPX
=lJ3X
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.