Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can we restrict user from creating public repository?

Praveen soni October 23, 2019

I want to restrict the user to create a public repo, they'll be only allowed to create a private repo.

1 answer

1 accepted

0 votes
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2019

Hello @Praveen soni,

Thanks for reaching out!

Unfortunately, this is not currently possible in Bitbucket. You can restrict users from creating repositories but not from creating only public repositories.

Sorry for the inconvenience.

Cheers,
Daniil

Praveen soni October 23, 2019

Is it something that you guys are targeting in future that it can be done? 

Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 23, 2019

Yes, this is on our radar: BCLOUD-11116. Please vote for it so that we know about that, and also to ensure you'll be notified on the updates for that ticket.

Cheers,
Daniil

Like Praveen soni likes this
Praveen soni October 23, 2019

Okay, I've voted for it.

Like # people like this
John Paul K J October 23, 2019

@Praveen soni,

I suggest you to set up an additional abstraction layer, ie a wrapper function, that communicate with bitbucket to create repo, restrict the function to create public repository, expose the function to an endpoint and distribute it to your users for usage. Use bitbucket API for this.

Like Praveen soni likes this
Praveen soni October 24, 2019

Actually we create the project or repo directly from Bitbucket UI, so doing this will be a long way for us right now.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events