[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Bug or my understanding - mod_svn_authz

From: Michael Kelley <michael.kelley_at_argonst.com>
Date: 2005-06-22 21:06:28 CEST

The order of evaluating statements within blocks of the
AuthzSVNAccessFile is important. The URL being requested is searched
for in the access file starting at the deepest level and proceeding
upwards to the root folder. Once a path match is found, the
authorization statements are processed top to bottom until the first
match is found. Using your example, this will work:

[Physics:/]
Andrew =
* = rw

Andrew will be denied. Failing to match "Andrew", all others will get
rw access. The anonymous match * should always be last. Other
matches should appear deny first, then read-only, finally read-write.
Also important to note that account name comparisons are
case-sensitive and (at least in 1.1.4) r, w, or rw permissions must be
in lower-case.

-Mike Kelley

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 22 21:09:05 2005

This is an archived mail posted to the Subversion Users mailing list.