开发者

How do I allow access to SVN via WebDAV based on branches?

I want to restrict the access of users to SVN repos by branch. The users would be accessing the repo via Apache / WebDAV. It's mostly about commits, I don't really care about the read access too much. Also, it's mostly about avoiding accidents, rather than distrusting users.

Note that I am just about to set up the WebDAV access, i. e. I'm still a noob on this.开发者_如何学Go So far, I have read a few tutorials and could not find all the bits and pieces that I need. This question is one that's missing.


Check out svnbook. There's no automatic way though to restrict access to all branches when you have a layout like:

projectA/trunk
projectA/branches
projectB/trunk
projectB/branches

It comes down to only giving certain people access to branches:

[groups]
calc-developers = harry, sally, joe

# Allow everyone read access
[/]
* = r

# Allow harry to write to branches
[calc:projectA/branches/]
harry = rw

# Allow calc-developers group RW access to trunk
[calc:projectA/trunk]
@calc-developers = rw
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜