You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ramaraj Subramanian <ra...@virtusa.com> on 2006/04/18 09:54:18 UTC

Restricting user level

Hi All,

 

I am using subversion as my central repository. Subversion gives three
levels of access Read, Write, None. I want to give access to all the
developers to check out and check in the files but they should be
allowed to delete the files. The problem with subversion is when a user
is given write access, the user has full rights to add folders, delete
files and folders etc. Can anyone help me to restrict the user to
delete, create folders and files. Thanks in advance

 

Thanks & Regards,

Ramaraj S.

Software Engineer

Ext. No. 3377

Mobile : 91- 98408 - 20796

 

 


Re: Restricting user level

Posted by Ulrich Eckhardt <ec...@satorlaser.com>.
On Tuesday 18 April 2006 11:54, Ramaraj Subramanian wrote:
> I want to give access to all the developers to check out and check in the
> files but they should be allowed to delete the files. 
                         ^^^
I assume there's a "not" missing.

> The problem with subversion is when a user 
> is given write access, the user has full rights to add folders, delete
> files and folders etc. Can anyone help me to restrict the user to
> delete, create folders and files.

Others already commented on how to technically solve this but I personally 
wonder why. The point is that Subversion can recover deleted files, in fact 
that's one of the things it was designed to do. So if you want to allow 
people to create folders and files, why not the opposite? This would make it 
impossible for them to undo an accidentally committed file, undo changes 
(i.e. reverse merging) or possibly even just rename files.

If you had restricted them from the beginning so that they would only be 
allowed to edit existing files, that would have been reasonable for people 
that you don't want to change the overall design of things. However, even 
that would be a severe restriction useful only to help people not to shoot 
themselves in the feet but without training them on the use of Subversion.

Uli

****************************************************
Visit our website at <http://www.domino-printing.com/>
****************************************************
This Email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this Email in error please notify the system manager.

This footnote also confirms that this Email message has been swept by MailSweeper for the presence of computer viruses.
****************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Restricting user level

Posted by Nico Kadel-Garcia <nk...@comcast.net>.
It certainly doesn't seem to be built in. However, you might take a look at the svnperms.py hook script. Along with svnperms.conf, it can allow "add,delete,update" which might be a better set of classifications for user access for you.
  ----- Original Message ----- 
  From: Ramaraj Subramanian 
  To: users@subversion.tigris.org 
  Sent: Tuesday, April 18, 2006 5:54 AM
  Subject: Restricting user level


  Hi All,

   

  I am using subversion as my central repository. Subversion gives three levels of access Read, Write, None. I want to give access to all the developers to check out and check in the files but they should be allowed to delete the files. The problem with subversion is when a user is given write access, the user has full rights to add folders, delete files and folders etc. Can anyone help me to restrict the user to delete, create folders and files. Thanks in advance

   

  Thanks & Regards,

  Ramaraj S.

  Software Engineer

  Ext. No. 3377

  Mobile : 91- 98408 - 20796



Re: Restricting user level

Posted by Russ <rs...@istandfor.com>.
You will probably need to use a pre, or post commit hook.
Sent wirelessly via BlackBerry from T-Mobile.  

-----Original Message-----
From: "Ramaraj Subramanian" <ra...@virtusa.com>
Date: Tue, 18 Apr 2006 15:24:18 
To:<us...@subversion.tigris.org>
Subject:  Restricting user level

Hi All,
 
 
 
I am using subversion as my central repository. Subversion gives three levels of access Read, Write, None. I want to give access to all the developers to check out and check in the files but they should be allowed to delete the files. The problem with subversion is when a user is given write access, the user has full rights to add folders, delete files and folders etc. Can anyone help me to restrict the user to delete, create folders and files. Thanks in advance
 
 
 
Thanks & Regards,
 
Ramaraj S.
 
Software Engineer
 
Ext. No. 3377
 
Mobile : 91- 98408 - 20796