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

Access control to stop creation of files/directories but allow svn:mergeinfo to be updated

From: <webster.brent_at_rogers.com>
Date: Wed, 16 Mar 2016 14:18:10 +0000 (UTC)

As the subject line states I want access control to prevent the creation of files and directories at a certain directory level and above.  Below that point, the general population can make whatever changes they deem fit.  Another requirement I have is to always merge from the top level but that top level can only be "generally" written be a small group of architects.  With these two conflicting requirements, I need a way to control the read/write access for files/directories but ensure the svn:mergeinfo can be written in this top level write protected directory.
I've used the HTTPD access file before but I'm no longer the admin for the SVN server and it just provides general r/w access.  I've used various perl/ini scripts to provide access control (i.e https://github.com/qazwart/SVN-Precommit-Kitchen-Sink-Hook/blob/master/pre-commit-kitchen-sink-hook.pl) but currently the admins for Windows based VisualSVN server recommend using python.
It is looking like this custom pre-commit hook script will need to differentiate svn:mergeinfo property changes from the general changes.  Then query for general access control hopefully with an existing python/ini solution else allow the svn:mergeinfo to fall through and be checked by the pre-revprop-change hook script.
Other suggestion/comments would be greatly appreciated. ---- Brent
Received on 2016-03-16 15:18:24 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.