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