Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Default read access to all Bitbucket projects and repos



We're setting up an on-premise Bitbucket server, and would like all projects and repos to have read access enabled by default. Are there any global settings that can enable these defaults?


4 answers

1 accepted

1 vote
Answer accepted

Hi @nkeho,

It is currently not possible to set the "Default Access" to a value different from "No access" or to enable the "Public access" feature by default.


If it's an option for you to automate the project creation, you could set one of these option (depending on your use case) while creating the project.


Here are the related REST API endpoint.

Set the "Public Access" while creating the project

Note: this can only be done while creating the project and is achieved by adding the "public": true option in the request to the following endpoint:

POST /rest/api/1.0/projects

Example representation:

"key": "PRJ",
"name": "My Cool Project",
"description": "The description for my cool project.",
"public": true


Set the "Default Access" to the required value

POST /rest/api/1.0/projects/{projectKey}/permissions/{permission}/all


The allowed values for {permission} are:




The full documentation is available on the Bitbucket Server REST API page.



Caterina - Atlassian

Thanks for the replies.

I would be great if Bitbucket would implement support for setting "Default Access" to a value different from "No access".

Hi @nkeho,

Can you tell us a little more about this?

Some questions that you could answer are: How would this be helping you / enabling you to do? What is currently not possible with the current defaults?



Caterina - Atlassian



In our case, we're setting up an on-premise Bitbucket server, which different departments within our organization will be using for their projects.

What we'd like to do is to make it so that all code in our Bitbucket server by default are readable to everyone else (i.e. to all logged in users). This way we'll make it easier for our developers to discover and re-use code across projects. On other words, if the different teams/projects don't know about other teams' code, we're more likely to spend time writing similar type of code instead of re-using or cooperating on writing the code.

We'd like everyone to be able to browse through other departments/teams/projects code, and potentially finding code to contribute to and so forth.

My understanding is that the default settings in Bitbucket does not allow for all logged in users do browse through everyone else' code, unless all the users are give admin type of privileges. 

Hope this makes things more clear.

HI @nkeho 

There is no default setting for all the Project and repository but you need to manage this.

As it depends on the User group/role like Developer, Administrator.

Here is the detailed documentation for this please have a look at it.

Hi @Yogesh Mude,

The link refers to Bitbucket Cloud ( and not to Bitbucket Server.



Caterina - Atlassian

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,440 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you