gpt4 book ai didi

permissions - 乌龟SVN : Setting different permissions for sub folders

转载 作者:行者123 更新时间:2023-12-04 02:53:12 27 4
gpt4 key购买 nike

(我是 tortoise SVN 的新手)

我的乌龟 SVN 中有 2 个文件夹。每个人都需要一组不同的授权(我不想有权访问第一个文件夹的人对第二个文件夹具有读/写访问权限。

我怎样才能完成它?我注意到所有权限都在根级别的文件中定义。

最佳答案

这包含在 Subversion Book section on Path Based Authorization 中.您可以查看链接了解更多详细信息,但我只想提请您注意这一部分:

A lot of administrators setting up Subversion for the first time tend to jump into path-based access control without giving it a lot of thought. The administrator usually knows which teams of people are working on which projects, so it's easy to jump in and grant certain teams access to certain directories and not others. It seems like a natural thing, and it appeases the administrator's desire to maintain tight control of the repository.

Note, though, that there are often invisible (and visible!) costs associated with this feature. In the visible category, the server needs to do a lot more work to ensure that the user has the right to read or write each specific path; in certain situations, there's very noticeable performance loss. In the invisible category, consider the culture you're creating. Most of the time, while certain users shouldn't be committing changes to certain parts of the repository, that social contract doesn't need to be technologically enforced. Teams can sometimes spontaneously collaborate with each other; someone may want to help someone else out by committing to an area she doesn't normally work on. By preventing this sort of thing at the server level, you're setting up barriers to unexpected collaboration. You're also creating a bunch of rules that need to be maintained as projects develop, new users are added, and so on. It's a bunch of extra work to maintain.

关于permissions - 乌龟SVN : Setting different permissions for sub folders,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2995170/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com