Forums

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

Are branch permissions supposed to be additive?

Administrator
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!
August 31, 2018

I've defined branch permissions for a specific branch at the project level as well as at the repository level.

I'm finding only the repo level is taking effect.

For example:

Project level: Prevent all changes except for Group X.
Repo level: Prevent all changes except for User A.

Expected: Group X and User A allowed to commit to the branch.

Actual: Only user A is allowed to commit to the branch.

2 answers

0 votes
Julius Davies [bit-booster.com]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2018

 

Defining permissions at the "repo" level essentially turns off all project-level permissions for that repo.   It's a pure override, so you will need to copy/paste all the project-level permissions down into your repo-specific config if you want to keep them.

 

One workaround would be to use our free Control Freak add-on to use some of its branch permissions on top of the native Bitbucket mechanism.  Control Freak's permissions are additive when combined with the Bitbucket native mechanism.

 

(Control Freak's permissions ARE NOT additive against itself - it also implements an override mechanism, and again a repo override replaces the project config).

0 votes
Mohamed Adel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 31, 2018

@Administrator

This is a branch overlap permission, please read this article

Administrator
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!
September 4, 2018

Thanks.  But this has nothing to do with the Project vs. Repo permissions.

It's also for the cloud version, not the server versions I'm running.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events