Updated patch, cleanup the authz_tests.py file.
> -----Original Message-----
> From: Lieven Govaerts [mailto:firstname.lastname@example.org]
> Sent: maandag 3 april 2006 20:46
> To: email@example.com
> Subject: [PATCH] issue 2486: Svnserve 1.3 authz: writing on
> subfolder requires read access on repository root (repost)
> this patch has been sitting on the mailing list for over a
> month now. People have been asking about it alot so I hope
> somebody finds the time to review and - if accepted - commit it.
> Previous discussion on this patch can be found here:
> In short, the problem is that the commit-editor with the new
> authz code in svnserve 1.3 requests read-access on a folder,
> for just opening it (open_root, open_directory). The result
> is that, to use the authz code in svnserve, you have to give
> all users readaccess on root!
> This patch removes these readaccess checks, as they are not
> needed for just traversing a folder.
> Python tests are included.
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 <firstname.lastname@example.org>
(open_root): removed check on read access
(open_directory): removed check on read access
new file, contains tests for issue #2486.
(run_and_verify_commit): add --username and --password
parameters to the commit.
(get_authz_file_path): new function
(get_svnserve_conf_file_path): new function
(commit_editor_authz): removed a now obsolete part of the test.
Received on Mon Apr 3 21:35:56 2006
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org