On the 'authz-overhaul' branch: Commit a local modifications leftover
from work I did back in late June and early July it appears.  These
all appear to be mostly focused on upgrading the Apache modules to use
the new libsvn_repos-based authz APIs.

Disclaimer: I have absolutely *no idea* in what state of breakage this
            stuff is.  I just know that my working copy is not the
            safest place to house this work.

* subversion/include/mod_authz_svn.h
  (AUTHZ_SVN__SUBREQ_BYPASS2_PROV_GRP, AUTHZ_SVN__SUBREQ_BYPASS2_PROV_NAME,
   AUTHZ_SVN__SUBREQ_BYPASS2_PROV_VER): New #defines.
  (authz_svn__subreq_bypass_func2_t): New function type.

* subversion/libsvn_repos/authz.c
  (upgrade_authz_func_wrapper): Fix an assertion.
  (svn_repos__upgrade_authz_func, svn_repos__upgrade_authz_callback): Add
    some assertions.

* subversion/libsvn_repos/deprecated.c
  (svn_repos_begin_report2): Initialize the 'access_func' and
    'access_baton' variables and conditionalize their use.

* subversion/libsvn_repos/fs-wrap.c
  (svn_repos_fs_dir_entries): New function.

* subversion/mod_authz_svn/mod_authz_svn.c
  (subreq_bypass2): New function.
  (register_hooks): Register bypass2 function, too.

* subversion/mod_dav_svn/authz.c
  (dav_svn__allow_read): Add 'required' parameter, and upgrade to use
    of the new authz bypass interface.  Leave a "FIXME" comment for later.
  (get_authz_fspath_and_rev): New helper function.
  (authz_read, dav_svn__authz_read_func): Ditch these functions...
  (access_func, dav_svn__access_func): ...for these instead.
  (dav_svn__allow_read_resource): Update call to
  dav_svn__allow_read().

* subversion/mod_dav_svn/dav_svn.h
  (dav_svn__get_pathauthz_bypass): Change return type.
  (dav_svn__allow_read): Add 'required' and 'depth' parameters.

* subversion/mod_dav_svn/mod_dav_svn.c
  (pathauthz_bypass_func, dav_svn__get_pathauthz_bypass): Change return type.
  (SVNPathAuthz_cmd): Now fetch the bypass2 function.  

* subversion/mod_dav_svn/repos.c
  (deliver): Update call to dav_svn__allow_read().


git-svn-id: https://svn.apache.org/repos/asf/subversion/branches/authz-overhaul@1377652 13f79535-47bb-0310-9956-ffa450edef68
9 files changed