### This file is an example authorization file for svnserve.### Its format is identical to that of mod_authz_svn authorization### files.### As shown below each section defines authorizations for the path and### (optional) repository specified by the section name.### The authorizations follow. An authorization line can refer to:### - a single user,### - a group of users defined in a special [groups] section,### - an alias defined in a special [aliases] section,### - all authenticated users, using the '$authenticated' token,### - only anonymous users, using the '$anonymous' token,### - anyone, using the '*' wildcard.###### A match can be inverted by prefixing the rule with '~'. Rules can### grant read ('r') access, read-write ('rw') access, or no access### ('').
[aliases]
# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
[groups]
[/]
# 表示admin有读写的权限
admin=rw
# *=r表示其他人只能读
*=r
# 此处注意是/BHPP/BHPPB,和创建的文件结构对应,如果不对应会造成只有根目录中# 的配置有效,其他的提示权限不够的错误
[/BHPP/BHPPB]
admin=rw
*=r
[/BHPP/BHPPH]
admin=rw
*=r
[/BHPP/BHPPB/frame]
admin=rw
ls=rw
*=r
[/BHPP/BHPPB/docmngt]
admin=rw
ls=rw
*=r
[/BHPP/BHPPB/fwebcommon]
admin=rw
ls=rw
*=r
[/BHPP/BHPPB/bcommon]
admin=rw
ls=rw
*=r
[/BHPP/BHPP/BHPPB/rsserver]
admin=rw
cyq=rw
*=r
[/BHPP/BHPPB/cmeramngt]
admin=rw
cxx=rw
*=r
[/BHPP/BHPPB/hrmngt]
admin=rw
mg=rw
*=r
[/BHPP/BHPPB/finmngt]
admin=rw
lh=rw
*=r
[/BHPP/BHPPB/assembly]
admin=rw
zs=rw
*=r