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

Authenticated ReadOnly and ReadWrite

From: Michael Hogsett <hogsett_at_csl.sri.com>
Date: 2005-11-30 01:05:27 CET

I need to configure my apache config file
to require authenticated read-only and read-write
access.

I have 4 users, Alice, Bob, Chuck and Dan

Alice and Bob need authenticated Read-Only access.

Chuck and Dan need authenticated Read-Write access.

In my svngroups file I have group REPO containing all 4 users.
In my svnpasswd file each user is listed with a password set.

I have in my apache config :

<Location /svn>
    AuthType Basic
    AuthUserFile /space/svn/conf/svnpasswd
    AuthGroupFile /space/svn/conf/svngroups
</Location>

<Location /svn/private>
    Dav svn
    SVNParentPath /space/svn/repos/private
    AuthName "There's nothing to checkout here. Use the full repository
URL"
    # Host-based access control here
    # Order deny,allow
    # Deny from all
    Require valid-user
    Satisfy all
</Location>

<Location /svn/private/REPO>
    AuthName "Subversion repository for REPO"
    Require group REPO
    <LimitExcept GET PROPFIND OPTIONS REPORT>
         require user Chuck Dan
    </LimitExcept>
</Location>

My thought with the final Location block was
that it would require the group REPO, but to
perform GET PROPFIND OPTIONS and REPORT it would
require either user Chuck or Dan.

This is not the case. Alice and Bob can write
to the repo.

How can I change this to get the behaviour I want?

Thanks

  - Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 30 01:07:28 2005

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

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