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

Re: SV: Accessing different revs via Apache?

From: Morten Ludvigsen <morten_2ps_dk_at_yahoo.co.uk>
Date: 2002-10-10 11:02:35 CEST

 --- Nuutti Kotivuori <naked@iki.fi> wrote:
> Jeff Stuart wrote:
> > And ya know.. I JUST had a thought!!!
> >
> > YOU MIGHT be able to make a portion of the repository read only via
> > APACHE!!!
> >
> > IE something like this:
> >
> > <Location /Tags/release>
> > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > deny from all
> > </LimitExcept>
> > </Location>
> >
> > This would make it read only for EVERYONE. OR!!!!
> >
> > <Location /Tags>
> > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > require user tag-manager
> > </LimitExcept>
> > </Location>
> >
> > This would make the repository read only to everyone but the
> > tag-manager user. Control who has that password and you're in
> > business.
>
> Right now, this does not work. Sorry :)
>
> The only thing this will prevent is for anyone just browsing around
> there - the Subversion client will commit just fine. The problem is
> that the URLs used by the client do not match these locations, since
> they have all the revision and baseline stuff in them.
>
> You _can_ however do all this in a pre-commit hook. You can check the
> committing username and you can check - for example - that a commit to
> /Tags can only contain a copy of a tree, no modifications.
>
> The apache permission stuff is in fact coming later - right guys? :-)
>
> -- Naked

Oh well - no matter. Having it in a pre-commit hook is acutally better
because it will work with local access a well.

Regards,

Morten Ludvigsen
2-People Software
Denmark

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 11:03:49 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.