在 Source Safe 中,有一种方法可以保护关键文件被某些开发人员修改
我不希望只是永久地签出一堆文件给我,但我想要一种方法来防止一些真正关键的文件在我不知情的情况下被更改。
PS 是的,我知道 SourceSafe 很糟糕。
I'd sooner not just permanently have a bunch of files checked out to me, but I'd like a way to prevent some really critical files being changed without my being aware of it.
PS Yes I know SourceSafe is terrible.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您只能按项目设置访问权限。
这是通过运行“源安全管理”应用程序然后转到“工具”>“工具”来完成的。 项目权利。 选择所需的项目,然后授予用户所需的权限。
为了保护文件子集,请将它们放在单独的项目中,从而保护该子集。
当您进入源安全时,如果您将子文件夹的工作文件夹设置为与父文件夹相同,那么当您执行“获取最新”等操作时,所有文件都将位于同一文件夹中。 如果您希望受保护的文件位于单独的文件夹中,请相应地设置工作文件夹。
You can only set access rights on a project by project basis.
This is done by running the the Source Safe Administration application and then go to Tools > Rights By Project. Select the required project and then give a users the required priveledges.
In order to protect a subset of files place them in a seperate project and hence protect the subset.
When you go into Source Safe if you set the working folder of the sub folder to be the same as the parent then when you do a get latest etc. all the files will be in the same folder. If you want the protected files to be in a seperate folder then set the working folder accordingly.
我已经有一段时间没有使用 Source Safe 了,但我不认为它内置了这种功能。
您能否设置一个单独的存储库/实例来排除不允许修改它们的用户?
或者如果失败了,只需在您的计算机上始终签出文件即可:P
It's been a while since I've had to use Source Safe but I don't think it has this kind of functionality built it.
Can you set up a separate repository/instance that excludes the users who shouldn't be allowed to modify them?
Or failing that, just keep the files always checked out on your machine :P
查看它们锁定的独家内容
check them out locked exclusive