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

Re: Restricting user level

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2006-04-21 09:56:44 CEST

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
Received on Fri Apr 21 09:57:21 2006

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.