I have been playing with branch permissions for a while, and i still don't understand how it actually works, or if it even works...
I'm working with 3 permissions!
Thats easy to setup (i'm missing regex in branch pattern), but then i run into problems...
- The developers are able to create a pull request from feature -> develop as expected, but when the PR is approved and successful build on our CI the "merge" button is still grayed out and after clicking for details the following message is shown: "You have insufficient permissions to update 'develop'. Check your branch permissions with the project administrator."
- If i add developers to the Prevent all changes exception at the develop branch, they are able to hit the merge button, but then they can do anything?!?
Similar i have struggled with delete permissions!
"nimun"
- If i add me to the Prevent all changes exception at the nimun branch, i'm able to delete the branch, but that's not what i want?!?
I hope someone are able to help me clarify how to properly manage branch permissions! :)
//Nikolaj
(we are running Bitbucket 5.8 )