I am trying to get a specific user "build.manager@email.com" to be allowed to push to our Master branch. I have applied branch permissions from the "Branching model" to our repository. I have therefore set "build.manager@email.com" in the exemptions for "Changes without a pull request" but it doesn't work and I get the error:
Branch refs/heads/master can only be modified through pull requests. [09:30:41][Step 4/4] remote: Check your branch permissions configuration with the project administrator.
I have set the git user to be build.manager@email.com on the agent that the repository is being checked out to and before we added the branch permissions in BitBucket the agent was able to push to master with username Build Manager build.manager@email.com.
Does Bitbucket use the email address or the username in the Exemptions dialog box?