[WebSVN] Repository level accessr

View: New views
1 Messages — Rating Filter:   Alert me  

[WebSVN] Repository level accessr

by webpost :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to get repository level access working.  

repo1
repo2
repo3

If userA has access to repo1 and repo2 but not to repo3, I want that user to see the contents repo1 and repo2 in websvn but NOT repo3.  I don't care if listing the repo is restricted or not.

This is how subversion is currently set up
      <Location /svn>
        DAV svn
        SVNParentPath /var/svn_repos
        AuthzSVNAccessFile /etc/subversion/authz_access_file
        AuthType Basic
        AuthName "Subversion repository"
        AuthUserFile /etc/subversion/svn_auth_file
        Require valid-user
      </Location>

I use ssl and this is working just fine when a user does (for instance)

svn co --username=valid-user https:/server/repo

Users not allowed in the svn_auth_file are prevented from co'ing repos and users that are allowed can co them just fine.  Also works with several svn clients.

I can force users to login to websvn using the same credentials and files as svn:

      <Location /wsvn/>
        AuthType Basic
        AuthName "Subversion repository web"
        AuthUserFile /etc/subversion/svn_auth_file
        Require valid-user
      </Location>

This works fine except that userA who doesn't have access to repo3, can happily browse repo3.

Do I NEED multiviews for this to work?  I don't need it so it's not configured.

Any ideas?  I would really appreciate the help.

------------------------------------------------------
http://websvn.tigris.org/ds/viewMessage.do?dsForumId=1547&dsMessageId=2390812

To unsubscribe from this discussion, e-mail: [dev-unsubscribe@...].