There is no way of managing user permissions per-build, this is available on a project level only. You could create a sub-project in the Dac.Test
project to cater for this
If you're looking for a way of stopping people from mistakenly running this build, the following approach will work.
This method uses a prompt box that will pop up after you click the run button, it also needs input from the user confirming that they mean to run the build.
No one can run this build by accident
- Go to your build configuration in the TeamCity UI
- From here, go to Edit Configuration Settings --> Parameters --> Add new parameter
- Enter something like 'Confirmation' as the parameter name
- Then beside 'Spec:', click the 'Edit...' button
- Set up the parameter as shown in the following screenshot:
You will now be prompted and asked for confirmation when you click the run button. The user will have to enter 'YES' in the prompt box that appears, any other value will stop the user from building: