title: Sonar rest API insufficient privileges
body: <p>I can't access most of the Sonar API, for example</p>
  
  <pre><code>localhost:9000/api/tests/show?key=htmlparser:/src/test/java/HtmlParserTest.java
  </code></pre>
  
  <p>or see api/sources/scm. api/server/system and some other general stuff works but nothing where I actually see the code.<br>
  I always get a  </p>
  
  <pre><code>{"errors":[{"msg":"Insufficient privileges"}]}
  </code></pre>
  
  <p>I set the project permissions to let anyone see source code &amp; browse the porject, I tried it with Postman, a Java HttpRequest, the command line ...<br>
  <code>curl -u admin:admin localhost:9000/api/tests/show?key=htmlparser:/src/test/java/HtmlParserTest.java</code><br>
   I checked with SonarQube 5.1 and 4.5.1. I've found a posts with the same issue but have yet to find a fix. Does anyone have a solution idea?<br>
  Thanks for your help</p>