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

1 vote
Answer accepted

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 Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


246 views 0 6
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