SonarQube Free Edition Access to multiple users or Admin Account

Hello Team,

Hope you are doing great. Would like to check on access for the free edition of Sonar Qube we are currently using. One of developers has access to it and been using it for a longer time and doesn’t want to share those credentials for security reasons. I would like to check if we could add multiple users to the account or create an admin account to it so where we could add users. Appreciate all your great help and support. Let me know if you need more information. Thank you.

Hello @jdheepak6 and welcome to the community :wave:

yes you can have multiple administrators in one sonarqube instance. if you are using the internal user directory your admin can create a new user under Administration → Security → Users → Create User . after that your admin need to add this user to the group sonar-administrators (Administration → Security → Groups) and the user is now an additional admin as well.

if you are delegating your authentication to something else, you need to ensure the same user/group mapping exists there.
in general: every user that is part of the group sonar-administrators is an admin and there is no limit on that .

hope that helps

Hello Tobias,

Thank you for your reply. I would really appreciate your help on the account that we have at our end. on our current account we are able to login with an user credential who is not an admin. But we wanted to setup an admin and provide couple user access as required. Please let me know how we can set new users as that is super important. Awaiting for your earliest response. Please feel free to reach if you need any information from my end.

Here is the url attached: http://10.61.66.68:9000/sessions/new?return_to=%2Fprojects

Hi @jdheepak6 ,

As Tobias mentioned, you need to add user to the group sonar-administrators like so:

  1. Click on the the blue stack icon (boxed in red) from Administration > Security > Groups menu:
  2. Click on the “All” tab and check the box for your other users that should be be in the sonar-administrators group:

Now have those users log in and see if they have administrator powers.

Regards,
Joe

1 Like

Hello Joe,

Thank you for the quick response. I don’t see that when I logged in as a user, we don’t have Administrator org credentials to login to the Sonar. Attached is the screenshot.

Could you directly create an admin user from your end. If not can we get connected real quick so that we will setup the required. Appreciate your support.

Regards,
Deepak J

Hello Joe,

Thank you for the quick response. I don’t see that when I logged in as a user, we don’t have Administrator org credentials to login to the Sonar. Attached is the screenshot.

Could you directly create an admin user from your end. If not can we get connected real quick so that we will setup the required. Appreciate your support.

Regards,
Deepak J

Hi @jdheepak6 ,

You’re welcome.

Your user is not an admin so you need to ask your administrator (or someone who is an admin) to help add your user Venkata to the sonar-administrators group. I do not have access to enter your SonarQube instance so you need to ask your admin to do that.

Joe

Hello Joe,

We don’t know who is the admin. How could I know who is the system Administrator, Is it something your team could help us how to figure out our issue.

Hi @jdheepak6 ,

No, we don’t have access to your database or your SonarQube instance to know who the admin is. However, you can reinstate admin access if you have access to your database: Security | SonarQube Docs

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