如何将TFS组添加到ProcessTemplate

时间:2013-10-16 13:29:17

标签: tfs-process-template

我有一个TFS组(不是活动目录组),我需要添加到我们在TFS中创建的每个项目。我打开XML文件并添加组,但是当我创建项目时,其中没有人。如果我检查TFS,他们在组中,但不是TFS添加的组。

 <group name="Business Analysts" description="All our BA's">
      <permissions>
        <permission name="GENERIC_READ" class="PROJECT" allow="true" />
        <permission name="GENERIC_WRITE" class="PROJECT" allow="true" />
        <permission name="DELETE" class="PROJECT" allow="false" />
        <permission name="PUBLISH_TEST_RESULTS" class="PROJECT" allow="false" />
        <permission name="DELETE_TEST_RESULTS" class="PROJECT" allow="false" />
        <permission name="ADMINISTER_BUILD" class="PROJECT" allow="false" />
        <permission name="START_BUILD" class="PROJECT" allow="false" />
        <permission name="EDIT_BUILD_STATUS" class="PROJECT" allow="false" />
        <permission name="UPDATE_BUILD" class="PROJECT" allow="false" />
        <permission name="CREATE_CHILDREN" class="CSS_NODE" allow="true" />
        <permission name="WORK_ITEM_READ" class="CSS_NODE" allow="true" />
        <permission name="WORK_ITEM_WRITE" class="CSS_NODE" allow="true" />
        <permission name="MANAGE_TEST_PLANS" class="CSS_NODE" allow="false" />
        <permission name="VIEW_TEST_RESULTS" class="PROJECT" allow="false" />
        <permission name="MANAGE_TEST_ENVIRONMENTS" class="PROJECT" allow="false" />
        <permission name="MANAGE_TEST_CONFIGURATIONS" class="PROJECT" allow="false" />
        <permission name="CREATE_CHILDREN" class="ITERATION_NODE" allow="true" />
        <permission name="DELETE" class="CSS_NODE" allow="true" />
        <permission name="DELETE" class="ITERATION_NODE" allow="true" />
        <permission name="GENERIC_READ" class="CSS_NODE" allow="true" />
        <permission name="GENERIC_READ" class="ITERATION_NODE" allow="true" />
        <permission name="GENERIC_WRITE" class="CSS_NODE" allow="true" />
        <permission name="GENERIC_WRITE" class="ITERATION_NODE" allow="true" />
      </permissions>
      <members>
        <member name="[DefaultCollection]\Business Analysts"></member>
      </members>
    </group>

1 个答案:

答案 0 :(得分:1)

这取决于业务分析师的存在位置。 TFS组存在于服务器级别,集合级别和项目级别。 source 例如,您可以尝试:

member name="[SERVER]\Business Analysts"

这将TFS服务器称为“域”而不是DefaultCollection。