如何限制特定的 trac/svn 用户访问 SVN 的特定文件夹/主干? [英] How do I restrict specific trac/svn users to access specific folders/trunk of SVN?
问题描述
我用 svn 安装了 trac.我有不同的项目主干.我想限制几个用户,以便他们只能访问我定义的一个特定中继.
I have trac installed with svn. I have different trunks of projects. I want to limit few users, so that they can only access one specific trunk whichever I define.
我该怎么做?
推荐答案
您可以像这样使用 svn 服务器的 authz 文件对特定目录进行密码保护:
You can password-protect specific directories using the authz file of the svn server like this:
[proj:/branches/davesbranch]
dave = rw
There are other means for accessing through Apache. See the book.
我的问题是为什么?"如果你担心他们会把事情搞砸,那有点违背修订控制的想法.此外,如果您让开发人员自由地创建任意数量的分支,那么他们将 弄乱自己的树枝而不是树干.
My question would be "why?" If you're afraid they'll mess something up, that kinda goes against the idea of revision-control. Furthermore, if you instead give developers the freedom to create as many branches as they want, then they'll mess up their own branches instead of the trunk.
这篇关于如何限制特定的 trac/svn 用户访问 SVN 的特定文件夹/主干?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!