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?
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 :
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
This is exactly what I was looking for. Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.