0

谁能告诉我以下方法是否正确?

[团体]

team1=user1 team2=user2.user3

[/] @team1=rw

[颠覆:/myproject1] @team=rw

4

2 回答 2

0

this is the config I use (in svn_access_file, your file name could be diff)

[groups]
my_group_name = my_user_id, his_user_id
my_group_name2 = my_user_id2, his_user_id2

[myreponame:/]
@my_group_name = rw

[myreponame:/mybranch/]
@my_group_name2 = rw

my repository root is in /usr/svnrepo/ my repository is /usr/svnrepo/myreponame

My Apache configuration is:

<Location /svn>
DAV svn
SVNParentPath /usr/svnrepo/
AuthzSVNAccessFile /etc/svn/svn_access_file
Satisfy Any
Require valid-user
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/svn/svn_auth_file
SVNAutoversioning on
</Location>

So, you approach is correct

于 2009-05-01T19:35:57.710 回答
0

nope, try to limit access and see your repos are still rw accessed

于 2009-06-03T18:38:08.840 回答