There is no way to manage user permissions for each assembly; this is available only at the project level. You can create a subproject in a Dac.Test project to satisfy this
If you are looking for a way to stop people from mistaking this build, the following approach will work.
This method uses a tooltip that will be displayed after clicking the start button, and user input is required, confirming that they are intended to start the assembly. No one can run this assembly by accident.
- Go to the build configuration in the TeamCity user interface.
- Go to the menu "Configuration Settings" β "Options" β Add a new parameter
- Enter something like Confirmation as the parameter name
- Then next to "Spec:" click the "Change ..." button
- Set the parameter as shown in the following screenshot:

Now you will be prompted and ask for confirmation when you press the start button. The user will have to enter βYESβ in the prompt window that appears, any other value will stop the user: 
source share