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

[PATCH] Move authz access control to libsvn_repos

From: David Anderson <david.anderson_at_calixo.net>
Date: 2005-07-02 03:50:42 CEST

Here it is, my first patch to Subversion! Feel free to be cruel, there
are very probably a lot of things wrong with this submission.

The patch implements the first of the series of changes to get authz
into svnserve: moving the authz routines to libsvn_repos and updating
mod_authz_svn accordingly. For details see the ML thread about my SoC
task[1] and my wiki page[2] on this task.

- Dave.

[1] http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=102033
[2] https://ssl.natulte.net/wiki/dave/wakka.php?wiki=SummerOfCode

[[[
Move authz routines from mod_authz_svn to libsvn_repos; rework authz
code to fit in with libsvn_repos; update mod_authz_svn to reflect
the move.

* subversion/mod_authz_svn/mod_authz_svn.c: Add includes, remove
     nameless enum. Update copyright notice.
   (parse_authz_baton, group_contains_user_internal,
    group_contains_user, parse_authz_line,
    parse_authz_lines, parse_authz_section,
    parse_authz_sections, check_access): Remove, functionality
     moves to libsvn_repos.
   (req_check_access): Use the authz routines in libsvn_repos.

* subversion/include/svn_repos.h: Add include. Update copyright notice.
   (svn_repos_authz_check_access): New public API.

* subversion/include/svn_types.h: Update copyright notice.
   (svn_authz_access_kind_t): New enum type.

* subversion/libsvn_repos/authz.c: New file.

* subversion/tests/libsvn_repos/repos-test.c: Add includes. Update
     copyright notice.
   (authz): New test.
]]]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Jul 2 03:55:05 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.