views:

162

answers:

1

Hello,

I have several repositories setuped on my domain at: svn.domain.com

and i have it so it will list the repos by the SVNParentPath configuration. And now i would like to create user permision for each folder / repo, but i want to remove that repo from the listing if a user does not have permision to access it.

This is mainly for outside persons that need to only have acces to one given repo, and should not see the other projects that we are working on.

Thanks a lot for any sugestions :)

+2  A: 

Subversion itself doesn't handle the permissions - You need to configure the permissions in the apache server that is fronting the access to subversion:

<Directory /usr/local/svn/repo>
  AuthType Basic
  AuthName intranet
  AuthUserFile /www/passwd/users
  AuthGroupFile /www/passwd/groups
  Require group customers
  Order allow,deny
  Allow from internal.com
  Satisfy any
</Directory>

Of course you can use any authentication method supported by apache

nont