Checkout
rooneg
committed
on 03 Apr 06
Fix for issue #2486: Svnserve 1.3 authz: writing on subfolder requires read
access on repository root. Removed overly restrictive tests for… Show more
Fix for issue #2486: Svnserve 1.3 authz: writing on subfolder requires read

access on repository root.  Removed overly restrictive tests for read access

when opening root or opening a directory.

Patch by: Lieven Govaerts <lgo@mobsol.be>

* subversion/libsvn_repos/commit.c:

 (open_root): removed check on read access

 (open_directory): removed check on read access

* subversion/tests/cmdline/authz_tests.py:

 new file, contains tests for issue #2486.

* subversion/tests/cmdline/svntest/actions.py:

 (run_and_verify_commit): add --username and --password parameters to the

  commit.

* subversion/tests/cmdline/svntest/main.py:

 (get_authz_file_path): new function

 (get_svnserve_conf_file_path): new function

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

 (commit_editor_authz): removed a now obsolete part of the test.

Show less