[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Web Interfaces (was Re: Newbie Questions)

From: Ximon Eighteen <ximon.eighteen_at_int.greenpeace.org>
Date: 2006-01-09 01:47:34 CET

> Oh, one more question about ViewVC: Do you know how it handles access
> permissions? That was one big problem I had with WebSVN 1.6 which was
> solved very nicely in 2.0: It now uses the SVN access file and supports
> repository and path based authorization. It displays only the files and
> repositories the user is allowed to see with just one line of additional
> configuration (telling it where to find the svn_access.txt). How does
> ViewVC handle that? After all, that's not a CVS feature :-)

It doesn't.

I hacked my ViewCVS (before it became ViewVC but still had Subversion
support) to provide authentication using the repository access file. My
changes were a combination of using Apache to enforce access controls by
URL and using Python code (based initially on the code in Trac, then
later I modified it and ideally I'd like to implement the mod_authz_svn
logic directly using the Python bindings but last time I tried the
bindings weren't mature enough) in ViewCVS to handle the other cases.

I submitted my (admittedly hacky, but apparently working) solution to
the ViewCVS patch tracker. Unfortunately that was quite a while ago and
I'm about to have to solve this problem again against my current ViewVC
code base which has changed a lot since the ViewCVS one I modified.

I tried WebSVN a few months ago (wow, time flies, maybe it was as long
as six months ago) and neither I nor my time liked it. We are long time
users of ViewCVS and the query database feature it has. I also modified
the query feature to do far more than normal ViewCVS does.

It's probably time I took another look at WebSVN before trying to dive
into modifying the ViewVC code again, or tinkering with Python bindings.
The nice thing about ViewVC is at least it *is* written in Python making
it very compatible with the authz permission file format.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 9 01:51:25 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.