I want to restrict the user to create a public repo, they'll be only allowed to create a private repo.
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
Is it something that you guys are targeting in future that it can be done?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually we create the project or repo directly from Bitbucket UI, so doing this will be a long way for us right now.
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.