Sonar for Bitbucket Inherit Permission

Hi Michael,

We have purchased and been using Sonar for Bitbucket, it is a great tool. Recently we are starting off a few high-confidential project that we don't want any developer to see the source code. In Sonar, we can assign members into a group and then have that project only visible to such group.

The problem with what we have now is that it seems the feature branch does not seems to inherit these permission, so turns out everyone can see the source. Any thoughts?




1 answer

1 accepted

This widget could not be displayed.

Hi Terry,

Thanks for your question. I think SonarQube already supports your use case with the concept of permission templates. As far as I know you can specify your permissions with a new template and provide a regex for a project key that applies to all new branches (i.e., projects), something like "com\.yourcompany\.confidentialprojectname:\w+"

image2016-9-22 11:1:27.png

Does that help?

Best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

529 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you