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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

TAGS
AUG Leaders

Atlassian Community Events