`
erichua
  • 浏览: 512007 次
  • 性别: Icon_minigender_2
  • 来自: 远方
社区版块
存档分类
最新评论

SVN笔记--SVN权限管理补充

    博客分类:
  • JAVA
阅读更多

SVN中的权限管理,最容易出问题的地方在用户和权限分配的地方:

authz文件内容:

###
### 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]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
cpa = eric,desmond

[mmsitem_jboss:/]
@cpa = rw

[/]
@cpa = rw
* = 

# [/foo/bar]
# harry = rw
# &joe = r
# * =

# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r

 组:【groups】中定义用户用“,”分开;

资源权限:【repository:/】repository:项目名不要有/,如果只有/说明是root。

分享到:
评论
2 楼 erichua 2009-05-15  
5.1.x
1 楼 laiseeme 2009-05-15  
不知道你用的是哪个版本  好像最近新版本的有点不同

相关推荐

Global site tag (gtag.js) - Google Analytics