如何在RTC源代码管理中设置组件的可见性

时间:2013-06-12 15:57:30

标签: rtc

流中组件的可见性是“Project Scoped”,这是我在流中双击组件时看到的视图:

enter image description here

我希望将'Team Private'作为'Project Scoped'意味着这个组件只对团队可见?

在此组件所属的流上,我已将“可见性”设置为团队区域,这是否意味着只有团队成员才能查看此组件,即使在组件级别,可见性为“项目范围” '?

当我尝试通过点击“更改”按钮(在上面的屏幕截图中)“更改”此组件的可见性时,这是我收到的错误:

enter image description here

如何将可见性更改为“Team Private”?

更新:要更改可见性:

1. expanded the stream tree within 'Team Artifacts'
2. right click the component
3. click 'Change Owner'
4. Change to team that this component is to be private to and ensure 'Restrict to members of this team area and its child team areas'

按照这些步骤,可见性已更改为“Team Private”

但是,通过打开流并从流中更新相同组件来更改组件可见性不会更改“可见性”。我认为这是RTC的不一致吗?

1 个答案:

答案 0 :(得分:1)

Controlling access to source control in Rational Team Control”中解释了所有访问管理的可能性。

Read protect some components but give public access to others”接近你要找的东西 但你也可以protect at the folder level for a specific team area

  

在RTC 40之前,存储库中的文件夹或文件级别没有访问控制,因此在使用应隐藏的某些文档布置文件系统时请记住这一点。在RTC 4.0中添加了文件和文件夹级别的访问控制。

关于“范围”概念:

  

对于项目区域拥有的组件,其访问的范围与项目区域的方式相同。

(因此只有项目区域的成员才能看到/访问它)

  

对于个人用户拥有的组件,所有者可以指定其范围。

这就是你得到的原因:

You cannot change the access control on components owned by project area and team area.  
They inherit their access control settings from a project area or team area.

您需要用户拥有的组件才能更改其可见性。

相关问题