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

Re: Restricting access to a folder !!

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: Fri, 11 Jan 2008 15:09:21 -0600

On Jan 11, 2008, at 06:37, Himanshu Raina wrote:

> Is there a way I can restrict a user from writing or checking in a
> specific type of file. For example, I have a repository named
> "Template" under which I have a trunk named Developer. Now I want
> all users accessing Developer to check-in only *.tpl files denying
> access to write any other type (.gz, .html, .php, .c ..etc).Can
> this be done?

Yes, you can write a pre-commit hook to reject commits of non-.tpl
files.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-11 22:10:23 CET

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.