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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 2 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

17 views 0 1
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