我可以在 TFS 2010 中隐藏选定的区域/迭代节点吗?
为了确保不会为工作项的迭代选择产品的过时版本,我希望在打开新工作项时能够从视图中隐藏某些迭代节点。
例如,如果我的网站当前的生产版本是 3.5,并且 3.6 和 4.0 正在开发中,我想确保当用户创建新工作项时,早于 3.5 的版本(例如 3.4、2.7)将不可选择。
我可以设想一种方法来创建自定义控件,但我想避免这些,因为它们需要开发桌面和 Web 控件,并且必须部署到所有用户。
任何想法、方向,或者只是“这是不可能完成的”,将不胜感激。
谢谢,
阿萨夫。
In order to make sure that obsolete versions of the product aren't selected for a work item's iteration, I would like to be able to cloak certain iteration nodes from view, when opening a new work item.
For example, if the current production version of my site is 3.5, and 3.6 and 4.0 are in development, I want to make sure that when a user creates a new work item, versions that are older than 3.5 (e.g. 3.4, 2.7) will not be selectable.
I can conceive of a way to do this creating a custom control, but I'd like to avoid those, as they'd require development of both desktop and web controls, and would have to be deployed to all users.
Any ideas, directions, or just an "it can't be done", would be appreciated.
Thanks,
Assaf.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不确定您是否可以将其隐藏为选择。
但是,您可以将“在此节点中编辑工作项”的安全性设置为拒绝,并且他们将无法保存选定区域或迭代的工作项。
I am not sure if you can hide it as a selection.
However you can set the security for "Edit work items in this node" to deny and they will not be able to save workitems with the area or iteration selected.
我90%确信这是不可能的。
I'm 90% sure it can't be done.
我自己还没有尝试过:
沿着访问控制的路线,我相信如果您拒绝用户的“查看此节点”权限,那么她将根本无法看到此节点。请注意,她可能无法看到此节点下的工作项,但我想您对此没有意见。
另一件需要注意的事情是,此解决方案可能不适用于管理员(因为如果所有管理员都被拒绝查看权限并且无法查看区域路径,那么它将永远丢失)。
I haven't tried this myself:
Along the line of access control, I believe if you deny "View this node" permission on a user then she will not be able to see this node at all. Be aware that she will probably not be able to see the work items that are under this node, but I guess you are fine with that.
Another thing to note is that this solution might not work with Administrators (because if all Administrators are denied view permission and cannot see the area path then it's lost forever).