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

RE: Hooks about change log and create privilege

From: Dong Jiwei <dongjiwei_at_keithley.com>
Date: 2007-07-11 11:19:57 CEST

Thank you very much Ryan,

The svnperms.py perfectly matches my request. Thank you again.

Regards,

Roy Dong

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007b@ryandesign.com]
Sent: 2007711 16:40
To: Dong Jiwei
Cc: users@subversion.tigris.org
Subject: Re: Hooks about change log and create privilege

On Jul 11, 2007, at 00:43, Dong Jiwei wrote:

> 2. And I want to control the privilege of create
> a new script file in the repository, I want only specific user can
> do the file initialization work, other user can only check out the
> file, modify and check in.
>
> I think this can be judge in the hook
> pre-commit, but I dont know how to get the operation status of the
> TXN, for the TXN may include several files and directory.
>
> I must get the Add or Modify then can decide to pass the operation
> or deny.

I think the svnperms.py script will do what you want.

____________________________________________________________________________
_
Scanned by IBM Email Security Management Services powered by MessageLabs.
For more information please visit http://www.ers.ibm.com
____________________________________________________________________________
_

_____________________________________________________________________________
Scanned by IBM Email Security Management Services powered by MessageLabs. For more information please visit http://www.ers.ibm.com
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 11 11:24:04 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.