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

Re: Question regarding mixed anymous/authenticated repository

From: Scott Lawrence <slawrence_at_pingtel.com>
Date: 2004-03-23 16:35:46 CET

On Tue, 2004-03-23 at 06:42, Serhat Sakarya wrote:
> Hello,
>
> we have been trying to use Subversion for a repository that allows both
> anonymous and authenticated users. We basically followed the manual for
> the apache variant, using these lines in our httpd.conf:
>
> Require valid-user
> Satisfy Any
> AuthType Basic

I think I've accomplished this doing everything at the apache level, but
it's not widely tested yet, so I'd appreciate a review. I have only
http: access to the repository (my goal being to integrate the same
account system with our bug tracker and other services available through
the web site - anyone done that with Jira?)

I limit write access to any repository to valid users, and specific
repositories may also specify a group to which the user must belong:

<Location /rep>
  DAV svn
  # any "/rep/foo" URL will map to a repository /scm/rep/foo
  SVNParentPath /scm/rep
  Allow from all
 
  # For any operations other than these, require an authenticated user.
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Satisfy All
    Allow from all
    Require valid-user
  </LimitExcept>
</Location>

<Location /rep/testproj/>
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require group testproj
  </LimitExcept>
</Location>

-- 
Scott Lawrence        
  Pingtel Corp.   
  sip:slawrence {at} pingtel.com  
  +1.781.938.5306 x162
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 23 16:36:55 2004

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