Checkout
danderson
committed
on 14 Mar 07
Fix a bug in the authz code, related to issue #2388: if the authz global access
check is inconclusive (ie. no decision could be made), acces… Show more
Fix a bug in the authz code, related to issue #2388: if the authz global access

check is inconclusive (ie. no decision could be made), access should be denied,

not authorized.

Patch by: Joe Schaefer <joe@sunstarsys.com>

* subversion/libsvn_repos/authz.c

 (authz_global_parse_section): Continue walking the authz config as long as

   the access is not determined.

 (authz_get_global_access): Return FALSE if the access could not be

   conclusively determined.

* subversion/tests/libsvn_repos/repos-test.c

 (authz): Add a section to the test configuration that triggers the bug. Fix

   the test loop to actually run all unit tests.

Show less