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

Re: How to stop delete files/directory from SVN Repo Browser

From: Ben Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Thu, 9 Aug 2012 15:14:50 +0200

On Thu, Aug 9, 2012 at 6:46 AM, Subodh Singh
<subodh.singh_at_proficientinfosoft.com> wrote:
> Thanks Ryan,
> I am able to stop deletion using pre-commit hook using svnlook.
> One more question is that do we able to set deletion permission as user
> based. Some specified users can delete but not all.
>
> Thanks
> Subodh

Please take some time to explain the root problem you are trying to solve.

- You seem fixated on deletion specifically; why is that?

As it's all under version control, any deletion can be undone. Nothing
that has been committed to a Subversion repository is ever truly gone.

- Are you aware of Subversion's support for path-based authorization?

Using this, you could give certain users read-only access to certain
parts of the repository, while allowing others to make changes.
Perhaps this would be sufficient to solve your problem.

See http://svnbook.red-bean.com/en/1.7/svn.serverconfig.pathbasedauthz.html

// Ben
Received on 2012-08-09 15:15:24 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.