SONAR-5694 add authorization rights and medium tests