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

RE: tags/branches

From: Ramachandran, Vishwanath(IE10) <Vishwanath.Ramachandran_at_Honeywell.com>
Date: Thu, 18 Jun 2009 19:39:03 +0530

Thanks David for the reply


This is my client's requirement for one of his repository, I have to do
it no choice [:P]. If it can be done, could you suggest and help me out




Desk: +91 80 26588360 Extn: 44211

Cell: +91 9632243577


From: David Weintraub [mailto:qazwart_at_gmail.com]
Sent: Thursday, June 18, 2009 7:33 PM
To: Ramachandran, Vishwanath(IE10)
Cc: Ryan Schmidt; users_at_subversion.tigris.org
Subject: Re: tags/branches


On Thu, Jun 18, 2009 at 2:32 AM, Ramachandran, Vishwanath(IE10)
<Vishwanath.Ramachandran_at_honeywell.com> wrote:

Hi There

I have created a repository and should be configured so that:
1. Only administrator(s) can change the branches and tags folder
2. A non-administrator (user with read/write access) can have read/write
access to trunk but not branches and tags

Can this be done?


There are several ways. One is via the backend server (either Apache or
svnserve) and the other is a pre-commit hook that allows you to set the
"write" permissions.


Some people use a combination of the two because backend permissions are
harder to set than pre-commit hook permissions. However, the pre-commit
hook can only set write permissions and not read permissions.


Are you sure you don't want anyone but administrators working on
branches? It's strange enough to only allow administrators create all
tags, but in most shops, developers must be able to modify a branch.
That's what branches are for.


I can understand locking a branch, so only a few users can work on that
branch, or to lock a branch once no more work is allowed on that branch,
but locking developers out all the time doesn't make much sense.

David Weintraub
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-18 16:10:05 CEST

This is an archived mail posted to the Subversion Users mailing list.