[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: David Anderson <david.anderson_at_calixo.net>
Date: 2005-07-01 21:06:42 CEST

kfogel@collab.net wrote:
> Why would validation be a separate function from loading? Why not
> just make the load function itself return error?

Because the authz file is loaded by the svn_config_* functions, which
load other files than just authz. So validation is not possible in those.

Unless you mean add an API function svn_repos_authz_open that opens the
svn_config_t and validates it? It mostly mounts to the same result, so
why not I guess.

- Dave.

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:35:47 2005

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.