Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,323,849
Community Members
 
Community Events
168
Community Groups

How to switch Bitbucket to read-only mode

Hi, 

 

We recently migrated all the Bitbucket repos to Github. I want to make all the repos under Bitbucket to read-only. Any idea how i can make whole Bitbucket to read-only mode ?

1 answer

1 accepted

0 votes
Answer accepted
Tyler T Atlassian Team Jun 22, 2020

Do you want to make them public?

The first step would be to remove all the users with admin and write access - or change their permissions to read.

No, I want to keep them in private mode itself but want to change the bit bucket to maintenance mode. Change all the users and groups permissions to read-only from write access. since in my bit bucket  there are number of projects and repos(700) Not sure how i can make all the groups/user to read-only at one shot

Tyler T Atlassian Team Jun 23, 2020

Ok.. go to the workspace and click the members tab.

  • Select Manage users
  • Select the group you want to manage
  • Click the Edit button
  • Change Default repository access to Read
  • Uncheck the permissions to Create Repositories and Administer Workspaces

Thanks Tyler. It will work for the groups but we also gave explicit permissions at user level as well for repositories. I mean for few repositories we granted access to users not groups.

How i can change the users permissions to read-only as well if some one has write-access

Tyler T Atlassian Team Jun 23, 2020

In your workspace settings, you can visit the Users on plan view to see which users have access to repositories and then manage their access using the links next to the user. 

Thank you Tyler_T

How can we do the same in DC / Server environment ?

Suggest an answer

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,861 views 3 9
Read article

Atlassian Community Events