SQ permissions on new projects

Version 8.5 (build 37579) Community Edition

Any time a new project is created in Sonarqube, it has NO permissions (no one can see the results, including the admin). I (the admin) have to go into SQ, Projects | Management | choose the project and choose ‘Restore Permissions’

This seems wrong. Was hoping to get some insight from the forum.

Thanks much
B

Hi @bduffey,

It’s worth taking a look at your Permission Templates (Administration > Security > Permission templates). In particular the default template for projects, which may need to be fine-tuned to make sure that at least the admin account has permission for everything.

Regards,

Cameron.

Cameron - thanks I’ll check that.

Should a user who creates an SQ project be able to see the results (by default)?

That seems to be the use case throwing me for a loop (in a private project)

B

Hi Blake,

The out-of-the-box Default permission template is tuned for public projects (see below) – although anyone who’s in the sonar-users group should be able to see projects. But if you’ve moved your default project visibility to private, the safest thing to do is add some permissions to the Creators row. Adding Browse and See source code is a good starting point to allow visibility.

Regards,

Cameron.

Thanks again!!