返回顶部

svn Server authz 配置示例(文件夹权限配置)

[aliases]


[groups]
admin = jiangzhehao
technology = chenlei,liulei,xunzheng,qiaomingjie
sales = chenlei,liuxiaocong,wuzhikai

[hdxy:/]
@admin = rw
@technology = r
@sales = r

[hdxy:/00 公司资料]
@admin = rw
@technology = r
@sales = r

[hdxy:/05 技术资料]
@admin = rw
@technology = r
@sales = 

[hdxy:/10 销售资料]
@admin = rw
@sales = r
@technology = 

[hdxy:/99 归档]
@admin = rw
@sales = 
@technology = 

经过测试发现,svn server 配置权限的时候,需要在每一个文件夹下 给 所有用户组配置权限,否则会出现认证失败的现象。

为了简化配置,也可以使用通配符,具体示例如下:

[aliases]

[groups]
admin = jiangzhehao
technology = chenlei,liulei,xunzheng,qiaomingjie
sales = chenlei,liuxiaocong,wuzhikai

[hdxy:/]
@admin = rw
@technology = r
@sales = r

[hdxy:/00 公司资料]
@admin = rw
@technology = r
@sales = r

[hdxy:/05 技术资料]
@admin = rw
@technology = r
* = 

[hdxy:/10 销售资料]
@admin = rw
@sales = r
* = 

[hdxy:/99 归档]
@admin = rw
* = 

 

posted @ 2019-07-08 12:30  御用闲人  阅读(3269)  评论(0编辑  收藏  举报