[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: Shaun Pinney <shaun.pinney_at_bil.konicaminolta.us>
Date: Mon, 29 Nov 2010 10:40:35 -0800

> -----Original Message-----
> From: Hoping White [mailto:baihaoping_at_gmail.com]
> Sent: Wednesday, November 24, 2010 9:22 PM
> To: users_at_subversion.apache.org
> Subject: Db based configuration for per-directory access control
>
> 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.

Hi Hoping,

Not that I know of. As a result, I'm currently using Apache to manage
per-directory access control to SVN repositories and IMO it is a hassle
using the Apache mechanism. The main limitation for me is during branch/tag
creation. Since there are no automated tools to duplicate permissions based
on the trunk permissions an admin must manually edit the AuthzSVNAccessFile
and copy/edit trunk permissions manually whenever a branch or tag is
created. As a result of the manual method, it is very easy to leave
permission holes open when branches/tags are created without admin knowledge
or when new permissions are added to the trunk and the admin forgets to
manually propagate the change to all branches/tag directories.

I personally would prefer an SVN-based, not Apache-based, access control
method and SVN-provided automation tools to automatically duplicate
permissions during branch/tag creation. FWIW, I imagine adding automation
would be easier for the SVN dev team if permissions were stored directly in
SVN repositories rather than in Apache's text-based AuthzSVNAccessFile.
However, they would have to duplicate some of the logic already existing in
Apache (n.b. a small price, IMO). Regardless, I do not know if these admin
issues are on the SVN dev team's radar, but I will search later and file an
enhancement request if I can't locate an existing request.

Best,
Shaun
Received on 2010-11-29 20:15:07 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.