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

[PATCH] svnserve per-user read/write access control

From: Alec Thomas <subversion-list_at_swapoff.org>
Date: 2004-09-03 18:42:03 CEST

Hello,

Please consider this patch for inclusion. It implements per-user access
control for svnserve. Access is specified in an [auth] section of the
svnserve.conf file.

An example svnserve.conf might look like this:

        [general]
        # Default to read access for both authenticated and unauthenticated
        # users.
        anon-access = read
        auth-access = read
        password-db = /svn/conf/global-passwd

        [auth]
        # Let athomas have write access to the repository.
        athomas = write
        # Deny gchristian access to the repository.
        gchristian = none

I'm not sure what the policy is on configuration sections, but reusing
SVN_CONFIG_SECTION_AUTH seemed appropriate.

Thanks,
Alec

[[[
* subversion/svnserve/serve.c
  (get_access): Extra permission check against entries in the [auth]
  section in svnserve.conf. Users are listed in the form user =
  permission which overrides the defaults specified by anon-access and
  auth-access.
]]]

--
Evolution: Taking care of those too stupid to take care of themselves.


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

Received on Fri Sep 3 18:42:14 2004

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.