Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Assign a project to specific user only in SonarQube?

I want that when a project is scanned and it's scan result is created only Admin and a specific user can see that project in dashboard and all other places and only he can access that project. Also I want to send email to that user when project was scanned.

I know I can assign role to user and set permissions for it by going to that project, but should I have follow all these steps for this? Can't I just select a user from UI so that only that selected user can view that project?

like image 723
Umair Malik Avatar asked Sep 02 '16 08:09

Umair Malik


1 Answers

You must define project permissions for the scanned project with only that user and admin having the permission to "Browse" the project. If you need to do that repeatedly you may use permission templates. See http://docs.sonarqube.org/display/SONAR/Authorization#Authorization-ProjectPermissions.

like image 93
Olivier Korach Avatar answered Sep 25 '22 00:09

Olivier Korach