[9.9 LTS] Problems with permission in analysis


SonarQube 9.9 LTS

My SonarQube Instace is running on docker-compose.

My issue is, when I call maven goal sonar:sonar an error arises:

You're not authorized to run analysis. Please contact the project administrator.

But in the UI, I disabled the option: Force user authentication

It only works if I pass on the CLI -Dsonar.login=“value”, but right now I want to test it without passing this property.

Does anyone have some idea?

Hey there.

You would need to grant “Anyone” the Execute Analysis global permission. This is not reccomended.

Colin that was exactly it, thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.