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

Re: Should authz return errors? (Was: Re: SoC: Path-based authz for Svnserve)

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-07-01 21:07:12 CEST

On Fri, 2005-07-01 at 13:08 -0500, kfogel@collab.net wrote:
> Why would validation be a separate function from loading? Why not
> just make the load function itself return error?

Right now the loading function is svn_config_read.

There's an argument for making a loading function which performs
svn_config_read and then the validation. I think I'd like that approach
better.

(There's even an argment for making authz files an abstract type,
instead of passing around just an svn_config_t *, but we don't generally
adopt that level of formalism.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 1 21:37:20 2005

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