subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache subversion Wiki <comm...@subversion.apache.org>
Subject [Subversion Wiki] Update of "InRepoAuthz" by BenReser
Date Mon, 05 Nov 2012 15:27:15 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Subversion Wiki" for change notification.

The "InRepoAuthz" page has been changed by BenReser:
http://wiki.apache.org/subversion/InRepoAuthz?action=diff&rev1=5&rev2=6

Comment:
Make it clearer where the changes are needed to be made.

  The Authz file may be specified in one of four forms a location inside a repository, a relative
path within the repository being accessed, a absolute file path outside of the repository
or a relative file path outside of the repository.  The file would then be read from the location
specified, parsed and the results cached for a single connection as is already the case with
the existing external file path implementation.  There is one exception to the current behavior
which is the --config-file option to svnserve which causes the Authz file specified in the
config file to be cached for the entire time svnserve runs, this one case is troublesome.
  
  These four forms allow for Authz to be used out of the same or a different repository and
in the case of the SVNParentPath mod_dav_svn option or -d option to svnserve allows for each
repository to contain its Authz file.
+ 
+ Within our [[http://svnbook.red-bean.com/en/1.7/svn.intro.whatis.html#svn.intro.architecture.dia-1|layered
design]] the changes being described here are being made to the server layers (mod_authz_svn
which though not pictured at the linked diagram would be above mod_dav in the Apache box)
and svnserve.  The code for reading and parsing the authz file are in the repos layer, but
is only used by the server layer if it decides to implement authz.  Where we need to read
the data out of the repository we would use the repos layer.
  
  === Format of the Authz Path ===
  

Mime
View raw message