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

Re: Hooks to disable read access

From: Reuben D. Budiardja <techlist_at_pathfinder.phys.utk.edu>
Date: Thu, 31 Jul 2008 13:18:44 -0400

On Sunday 27 July 2008 8:04:39 pm Andy Levy wrote:
> On Sun, Jul 27, 2008 at 18:24, TechList
>
> <techlist_at_pathfinder.phys.utk.edu> wrote:
> > Hello,
> > Is there any hook script that can control who can read the repository ?
> > If not, what would be the template hook to use, is it pre-lock ? I want
> > to prevent a read access for some user for certain repository.
> > I looked at the documentation but I am not sure about the second argument
> > that get passed to this hook.
>
> There are no hooks that get executed on 'read" actions.
>
> Why are you not restricting their access via SVN's built-in
> authentication/authorization?

I am planning to have a generic user on the server, and SVN transaction will
be done via svn+ssh with SSH public keys and tunnel user. However, I still
want to be able to control read/write access of different user to different
repository. Accoding to the manual, the tunnel users will already be consider
as authenticated user, so I can't use the built-in authorization.

Any suggestion how should I go about doing this ?

Thanks.
RDB

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-31 19:19:13 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.