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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events