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

Re: Db based configuration for per-directory access control

From: David Weintraub <qazwart_at_gmail.com>
Date: Tue, 30 Nov 2010 14:39:18 -0500

2010/11/25 Hoping White <baihaoping_at_gmail.com>:
> Hi all
> Is there any way to configure subversion to do per-directory access
> control via database not config file? I have googled a lot, and all
> found are telling how to configure apache login problem, not svn
> repository access control.

The access control file is simply a text file. It should be fairly
simple to read from a database, and create the text file from the
database. In fact, most database programs have triggers that can
trigger a program to execute whenever a database change is detected.

My experience has been that when the text file gets changed under
svnserve, the access is also changed without a restart of the
svnserve. This is a bit different from http/apache which requires a
restart of the httpd daemon.

Yes, this isn't a direct database control situation, but it will do
what you want: A change in the access control database changes the
access control in Subversion.

And, it really shouldn't be that difficult to do.

David Weintraub
Received on 2010-11-30 20:39:57 CET

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.