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

Re: Restricting svn commands usage for users

From: chetan <chetan_at_savvion.com>
Date: 2007-05-23 12:45:47 CEST

First option I cann't use since then user will not be allowed for
checkin in branch.
Since my aim is that only administrator can create tag aor branch not
other user.
Is ther any good book for hooks it's really tuff for me to understand or
some online
tutorial ?


Talden wrote:

> 'tag' and 'branch' are not commands in Subversion. Instead they are
> just different paths in the repository folder structure. You can use
> the permissions mechanism in authz to only allow certain users (or
> groups of users) to have write ability in the branches and tags areas.
> If you want to allow writing to a branch but not creation of a branch
> then you definitely will need to use a hook script that checks the
> type of operation (such as a copy to the tags area) and checks a list
> of allowed users.
> You will largely need to read example hooks and learn the scripting
> for your platform.
> --
> Talden
> On 5/23/07, chetan <chetan@savvion.com> wrote:
>> Hi Karl,
>> Thanks for info. But still I am not getting clear idea on how to
>> implement
>> hook since I am new to
>> this. Basically I want to disable few commands such as tag,branch
>> for all
>> users only specific user
>> can do it.
>> Any help would be great.
>> Regards,
>> Chetan
>> Karl Fogel wrote:
>> chetanchatwani <chetan@savvion.com> writes:
>> Is there way to restrict svn commands usage for users, means certain
>> users
>> cann't create tag/branch in the
>> repository they can just checkin/checkout in repository ?
>> Look at customizing the pre-commit hook. See
>> http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks
>> for more on this.
>> Best,
>> -Karl

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 23 12:42:59 2007

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.