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

RE: Controlling update and/or commit access to a repository URL

From: bruce <bedouglas_at_earthlink.net>
Date: 2004-09-03 22:32:36 CEST

yeah...

but the start_commit hook only works (as i understand it) when you're doing
the commit back to the repository. if you want to restrict a user from being
able to access a given directory within a repository, the only way you can
really do this through svn is via the apache setup. the issue with this is
that if you want to dynamically modify the users, and the given
dirs/permissions that the users will have with respect to the dirs, you're
going to have to modify the httpd.conf file on a continual basis, which is
going to require restarting the apache server....

so, if i correctly understand what the poster wants to do, the start_commit
hook won't give him what he wants...

svn does not at this time, appear to give you a way to dynamically restrict
the user on a per dir basis, so that users can't access the dir at all...

-bruce

-----Original Message-----
From: Lee Merrill [mailto:LeeMerrill@bustech.com]
Sent: Friday, September 03, 2004 1:13 PM
Cc: users@subversion.tigris.org
Subject: Re: Controlling update and/or commit access to a repository URL

Hi Edward,

    Yes, you can do this, though it's not built into the repository, it
can be done in the web server, see this link for more information:

http://svnbook.red-bean.com/svnbook/ch06s04.html#svn-ch-6-sect-4.4

    It could also be done via a start-commit hook script, to check the
user and the directories being modified, to see if they are authorized
to make those changes:

http://svnbook.red-bean.com/svnbook/ch05s02.html#svn-ch-5-sect-2.1

Lee

>I could not find information on ways in which an administrator can control
>access to directories in a repository on a user by user basis. By access I
>mean the ability to allow or prevent a given user from checking out,
>updating, and/or committing changes to a repository. Does SVN have any
>notion of this built into the repository filesystem on a directory by
>directory basis ? If not, are there any plans to add this to SVN to make it
>easy for an administrator to allow or deny repository clients to
>access/update or commit repository data ?
>
>
>
>

--
+=========================================================
+ Lee Merrill    lee@bustech.com    919-866-2008
+=========================================================
Unless otherwise stated, any views presented in this email are solely those
of the author and do not necessarily represent those of the company.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 3 22:32:30 2004

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.