[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: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 18 Jun 2009 10:03:20 -0400

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
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2363194
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-06-18 16:04:21 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.