I have created a TFS build definition to create our software releases. Now I want to restrict access to start this build. Main goal is to avoid starting a release build by accident. Is there a way to either
EDIT: finally I came up with an own solution for part 2 of the question
I edited the buildprocesstemplate and added a custom argument (following this howto) which I test at the very start of the buildprocess. If one tries to start the build without entering the password, the build will fail with an exception. Of course this is not a supersafe protection by any means, but that was not the intention in this case.
Right click on the build definition >
Security > Select a group you wish to control >
Deny permission for:
Edit build definition
View build definition