SonarQube Admin Permission (when using LDAP)

Hi,
When I add one user as administrator and saved.
But when user logged in who got admin permission, access is getting reverted means admin access entry from groups_users table it getting deleted from DB and in UI user is disappearing from admin group.
Thanks,
Deepthi

Deepthi,

Are you managing group membership with an external identity provider like the LDAP plugin? If so, you’ll likely find that only local users can persist in the sonar-administrators group, because that external identity provider becomes the only place to manage group membership for non-local users.

If that is the case, I would suggest using a group from your external identity provider and assign all the necessary admin permissions to that group in SonarQube, which of course filters down to the members of that group.

Colin

2 Likes

Thanks a lot Colin, we are looking into sonar.properties file any changes done to ldap.group