[viewvc-users] Support for "svnauthz" authorizer with query.cgi
Asd Asdasd <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <BAY147-w61BAB3AAE356DC796EF273D2610__11190.4417899952$1307311336$gmane$org@phx.gbl> |
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?
If yes, are there any future plans to support the usage of the "svnauthz" authorizer with the query interface?
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.
Thanks,
Most.
------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2758209
To unsubscribe from this discussion, e-mail: [[email protected]].