In JetBrains TeamCity prior to 2019.1.2, a non-destructive operation could be performed by a user without the corresponding permissions.
jetbrains teamcity