summaryrefslogtreecommitdiff
path: root/subversion/include/mod_authz_svn.h
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/include/mod_authz_svn.h')
-rw-r--r--subversion/include/mod_authz_svn.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/subversion/include/mod_authz_svn.h b/subversion/include/mod_authz_svn.h
index bb8c8c8..2cf1464 100644
--- a/subversion/include/mod_authz_svn.h
+++ b/subversion/include/mod_authz_svn.h
@@ -36,9 +36,20 @@ extern "C" {
/*
* mod_dav_svn to mod_authz_svn bypass mechanism
*/
+/** Provider group for subrequest bypass */
#define AUTHZ_SVN__SUBREQ_BYPASS_PROV_GRP "dav2authz_subreq_bypass"
+/** Provider name for subrequest bypass */
#define AUTHZ_SVN__SUBREQ_BYPASS_PROV_NAME "mod_authz_svn_subreq_bypass"
+/** Provider version for subrequest bypass */
#define AUTHZ_SVN__SUBREQ_BYPASS_PROV_VER "00.00a"
+/** Provider to allow mod_dav_svn to bypass the generation of an apache
+ * request when checking GET access from "mod_dav_svn/auth.c".
+ *
+ * Uses @a r @a repos_path and @a repos_name to determine if the user
+ * making the request is authorized.
+ *
+ * If the access is allowed returns @c OK or @c HTTP_FORBIDDEN if it is not.
+ */
typedef int (*authz_svn__subreq_bypass_func_t)(request_rec *r,
const char *repos_path,
const char *repos_name);