1

我有一个 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>
4

1 回答 1

1

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

member name="[SERVER]\Business Analysts"

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

于 2014-04-07T22:47:27.670 回答