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

Re: herding 1.1 issues into the corral

From: Michael W Thelen <thelenm_at_cs.utah.edu>
Date: 2004-07-06 23:53:22 CEST

* Ben Collins-Sussman <sussman@collab.net> [2004-07-06 15:47]:
> Of course we know the fix. mod_authz_svn reads the entire authz INI
> file into memory for every request. All we need to do is
>
> 1. write a function in mod_authz_svn.c which verifies whether a user
> has read access to an entire tree. That's just a matter of looping over
> all paths in the authz file which prefix-match the tree.
>
> 2. invoke this function on the source path of any COPY request.
>
> Pretty easy stuff. Personally, I think we should do it. COPY requests
> (svn cp URL1 URL2) are relatively rare, and we can document the fact
> that mod_authz_svn places a bit of a damper on O(1) copies.

Hey, that sounds like something even I could do :) Anyone mind if I
give it a shot tonight and post again tomorrow if it looks like it's
going to be beyond me?

-- Mike

-- 
Michael W. Thelen
If you don't know where you are going, you will probably end up somewhere
else.           -- Laurence J. Peter

Received on Tue Jul 6 23:54:07 2004

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.