简体   繁体   中英

Where is the “Edit build definition” permission in our TFS 2013 installation?

Our environment is a TFS 2013 server (12.0.21005.1 Tfs2013.RTM) which was upgraded from a fresh installation of TFS 2008, with a number of team projects and developers.

One thing that our developers regularly need to do is create and edit build definitions. According to both Visual Studio and all documentation I've been able to find, there should be a "Edit build definition" privilege (perhaps along with a few others) which controls access to this. But as you can see in the screenshot, it doesn't exist in our installation:

在此输入图像描述

The only workaround I've found is to grant the people in question membership of the Project Administrators group, which is clearly not desirable. There is no group like build administrators or anything of the sort which might help, either; this is the list of groups available to choose from:

在此输入图像描述

As a consequence, whenever a developer wants to edit a build definition (which is perfectly appropriate in our case) they keep running into:

在此输入图像描述

What, short of making everyone a project administrator in every team project they might possibly work in, can I do to resolve this?

Here's where to find the security settings for build definitions.

TFS 2015 UI: Go to the Build Explorer, click on the drop down arrow to the left of All build definitions or All XAML definitions.

在此输入图像描述

VS Team Services and TFS "15" RC2 and newer: Go to Build and click on the Security button in the upper right side.

在此输入图像描述

You will then get a dialog like the following with the build permissions.

在此输入图像描述

The permissions that you show above are for Team Projects and not builds.

If you select a build and right-click on it you should get a permissions option. Here you will find build specific permission that you are looking for.

You can also set permissions through the API with PowerShell...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM