如何保护SVN分支内的目录?
情况是这样的 - 假设我在 SVN 上有一个名为 Accounting 的分支。在会计内部,我有三个名为 A、B 和 C 的文件夹。是否可以允许某些用户获取所有这些文件夹的内容,但不允许其他用户获取所有这些文件夹的内容?例如,我希望拥有操作所有这些文件夹内容的权限,但其他人应该只能访问名为 A 的文件夹。
Here is the situation - let's say I have a branch on SVN called Accounting. Inside of Accounting I have three folders named A, B and C. Is it possible to allow to some users to get content of all these folders but to disallow for others? For example I want to have a permission to manipulate with content of all these folders but some other person should just get access to the folder named A.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看 authz 和基于路径的授权: http://svnbook .red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html
还有商业工具如Subversion 访问控制,提供良好的用户界面来控制每个用户/组的访问。
Have a look at authz and path based authorization: http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html
There are also commercial tools such as Subversion Access Control that provide a nice user interface to control access per user/group.
转到conf文件夹并打开authz文件并将用户设置为您想要授予访问权限的一组
go to conf folder and open authz file and set the users as one group to whom you want to give access permission