[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: Nuutti Kotivuori <naked_at_iki.fi>
Date: 2002-10-10 10:26:52 CEST

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 10 10:27:47 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.