Stefan Bauer wrote on Thu, Sep 13, 2012 at 10:20:06 +0200: > Dear Users, > > We're having around 40 repositories. > > I'm trying to limit write access to a specific group per repository > and all read access to a group. How can i achieve this? > > I was able to limit the write operations with: > > <Location /svn/install> > <Limit MERGE MKCOL POST PUT DELETE PATCH PROPPATCH> > Require ldap-group CN=svn-repo-install-read > </Limit> > </Location> > > > But how can i set a general Limit for all repos below /svn/ for > read? ... is not working: > > <LocationMatch /svn/.*>
First of all you probably want to anchor that regex. (use '^') > Require ldap-group CN=SVN_user > </LocationMatch> > > I would like to have that users prompted for credentials when they > try to read from repos below /svn and the credentials are checked if > the user is part of SVN_user. > Can't http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html do what you need ?? > Thank you in advance > > Stefan