[PATCH] Clarify lookup order in authz files

C. Michael Pilato cmpilato at red-bean.com
Mon Feb 27 12:13:38 CST 2012


Committed in r4253.  Thanks.

On 02/27/2012 10:08 AM, Daniel Shahaf wrote:
> This is currently an implementation detail in libsvn_repos/authz.c
> authz_get_path_access(), but it seems stable:
>
> [[[
> * en/book/ch06-server-configuration.xml
>   (svn.serverconfig.pathbasedauthz):
>     Document that [repos-name:/path] is preferred to [/path].
> ]]]
>
> [[[
> Index: ch06-server-configuration.xml
> ===================================================================
> --- ch06-server-configuration.xml	(revision 4252)
> +++ ch06-server-configuration.xml	(working copy)
> @@ -3500,6 +3516,12 @@ harry =
>          that, and so on.  The net effect is that mentioning a specific
>          path in the access file will always override any permissions
>          inherited from parent directories.</para>
> +
> +      <para>Similarly, sections that specify a repository name have precedence
> +        over those that don't: if both
> +        <literal>[calc:/some/path]</literal> and
> +        <literal>[/some/path]</literal> are present, the former will be used
> +        and the latter ignored for <literal>calc</literal>.</para>
>      </tip>
>  
>      <para>By default, nobody has any access to the repository at all.
> ]]]
>
> _______________________________________________
> svnbook-dev mailing list
> svnbook-dev at red-bean.com
> http://www.red-bean.com/mailman/listinfo/svnbook-dev




More information about the svnbook-dev mailing list