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

Re: restrict permissions for creating/deleting branches and tags

From: David Weintraub <qazwart_at_gmail.com>
Date: Fri, 9 Jul 2010 10:51:13 -0500

On Fri, Jul 9, 2010 at 3:00 AM, Nadia Anastopoulou <NAnastop_at_mni.gr> wrote:
> I want to know If from subversion I can restrict the permissions from
> developers to create/remove branches and tags. We need to give the
> permission to developers only to work on the main development trunk and only
> authorized persons should create/delete branches and tags.

I have a Perl script that can do this. The script allows you to
specify who has what permission to make changes in the repository and
on what files and directories. The scripts are controlled by a file
that specifies the permissions. You can define groups to make this
easier.

The older version of the scripts are well tested, but require a
non-standard Perl module. You can install this via CPAN.

I've recently rewrote the hooks. The new version no longer requires
non-standard Perl modules, and was rewritten in a more object oriented
manner to be easier to understand and maintain. However, the newer
version has not been as well tested. The older version has been used
by many people for years. The new one is, well, new and simply hasn't
been as thoroughly field tested.

The old set of hook scripts are at:
http://dl.dropbox.com/u/433257/old_svn_hooks.zip. The new set is at
http://dl.dropbox.com/u/433257/new_svn_hooks.zip.

You can read about Subversion pre-commit hooks at http://bit.ly/9OC7cW.

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2010-07-09 17:52:52 CEST

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.