You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nadia Anastopoulou <NA...@mni.gr> on 2010/07/09 08:00:03 UTC

restrict permissions for creating/deleting branches and tags

Dear support,



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.

Is this possible?



Thank you in advance,

Nadia Anastopoulou
Database Administrator

Information Systems Department
MedNet International Ltd www.mni.gr
Tel. (+30) 210 6141365
Fax (+30) 210 6141366
Email: nanastop@mni.gr




Re: restrict permissions for creating/deleting branches and tags

Posted by David Weintraub <qa...@gmail.com>.
On Fri, Jul 9, 2010 at 3:00 AM, Nadia Anastopoulou <NA...@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@gmail.com

Re: restrict permissions for creating/deleting branches and tags

Posted by vishwajeet singh <de...@gmail.com>.
you can accomplish that by using pre-commit hooks

On Fri, Jul 9, 2010 at 1:30 PM, Nadia Anastopoulou <NA...@mni.gr> wrote:

>  Dear support,
>
>
>
> 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.
>
> Is this possible?
>
>
>
> Thank you in advance,
>
> *Nadia Anastopoulou**
> **Database Administrator*
>
> Information Systems Department
> MedNet International Ltd www.mni.gr
> Tel. (+30) 210 6141365
> Fax (+30) 210 6141366
> Email: nanastop@mni.gr
>
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 5263 (20100708) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>



-- 
Vishwajeet Singh
+91-9657702154 | dextrous85@gmail.com | http://bootstraptoday.com
Twitter: http://twitter.com/vishwajeets | LinkedIn:
http://www.linkedin.com/in/singhvishwajeet