There are three projects in SVN: ALL, CRM, OA
and three users: all, crm, oa
Steps:
1. Open svnserve.conf, remove the # symbol in the following four lines
# anon-access = read #Do not log in with an account, only Read attribute
# auth-access = write #Account login, there are read and write attributes
# password-db = passwd #Specify user password file
# authz-db = authz #Specify user group and specify the attributes of each group to fill in each item
2. Open passwd, create three new users
all = all
crm = crm
oa = oa
3. Open authz and create three new gruop
group_all = all, crm, oa
group_crm = all, crm
group_oa = all, oa
4. Set permissions in authz
# For ALL projects, three people have read and write permissions
[/ALL]
@group_all = rw
* =
# For CRM projects, all and crm people have read and write permissions
[/CRM]
@group_crm = rw
* =
# For the OA project, both all and oa have read and write permissions
[/OA]
group_oa = rw
* =
转自:http://jameswsz.iteye.com/blog/787283