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

Re: Recursive operations and authz

From: Branko Čibej <brane_at_wandisco.com>
Date: Fri, 15 May 2015 04:28:23 +0200

On 14.05.2015 14:12, Branko Čibej wrote:

> With that in mind, we could teach the trunk/1.9 authz parser to
> recognize an optional "[:config:]" section, in which we could add
> options that control the behaviour of the rules in the authz file; a
> 'copy-target-requires-recursive-access' option could then control the
> behaviour we've been discussing; whit the default, of course, being
> 'true' for backwards compatibility.

Well, it turns out that something like this could work in mod_authz_svn,
but not in libsvn_repos, becaus the authz callback in the editor doesn't
know what kind of operation we're doing the authz check for, and the
code that does know about the operation can't get at the options stored
in the parsed authz structure. Without drastically changing the authz
callback API. :(

-- Brane
Received on 2015-05-15 04:28:40 CEST

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