Is there an option to freeze or lock repo temporary?

Olya Rosenberg
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!
May 25, 2022

I know that as an admin you could give everyone only 'read' permission in order to prevent any changes to the repo. 

Is there a simple option somewhere in settings to temporarily freeze the repo?

1 answer

1 vote
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2022

Hello @Olya Rosenberg ,

Welcome to Atlassian Community!

I'm afraid there's no particular feature in Bitbucket Cloud to freeze the repository, but in case what you are trying to achieve is to prevent users from pushing new changes to a particular repo you can either give everyone only 'read' permissions, as you already mentioned, or you also have the option to create a branch permission to block everyone from pushing changes, like the below example :

Screen Shot 2022-05-26 at 17.32.21.png

The above branch permission will be applied to all the branches in the repository (cause it's using the * wildcard) and will prevent everyone from pushing new changes to the repo (no write access).

You can create a similar rule in your repository by going to Repository Settings > Branch permissions.

For more details about branch permissions you are also welcome to check the following documentation :

Hope that helps! Let me know in case you have any questions.

Thank you, @Olya Rosenberg .

Kind regards,

Patrik S

Olya Rosenberg
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!
May 27, 2022

This is exactly what I was looking for. Thank you!

Like Patrik S likes this
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 30, 2022

Hello @Olya Rosenberg ,

Awesome! Happy to have been of some help :) 

Thank you!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events