Forums

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

How to prevent users to push new branches on a repository?

Massy October 9, 2019

I need to prevent some users pushing new created branches on a repository from a client.

I want users only be able to push on existing branches from a local PC to a repository on Bitbucket server.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 15, 2019

Hi Massy, welcome to the Community!

For what you describe in your message, it looks like you'll need to start using branch permissions. With branch permissions you can control the actions users can perform on a single branch, branch type, or branch pattern within a repository or project. Whilst they do not prevent branch creation, you can restrict creating new branches that match a certain pattern. You can read more about it at Using branch permissions.

Hope that helps,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events