The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict access to change a branch without a pull request using "Branch permissions"

Kaj Hejer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2020

Hi

We use Bitbucket server v5.16.11.

We want to restriect access to change the master branch so that it can only be changes by merging pull requests.

We have added the following permissions for master under "Branch permissions":

  • Rewriting history
  • Deletion
  • Changes without a pull request
  • All changes

Without adding an exception for "All changes" I get "Insufficient branch permissions" when trying to merge a pull request against master. I have admin access to the project. But I don't want to give any exceptions for "All changes" because then it is possible to push changes directly to the master branch.

Thanks!

:)

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events