Grant Global Permissions Similar to Administrator Sonars

I create a group SonarQube sonar-administrators-ldap and maps to LDAP sonar-administrators-ldap . Users under sonar-administrators-ldap can successfully log in.

When switching to http://localhost:9000/roles/global , only two groups are displayed by default: Anyone and sonar-administrators , but not the new group sonar-administrators-ldap .

How to grant / revoke global permissions for groups, other groups by default?

+5
source share
1 answer

To create additional groups (similar to "sonar-administrators") with administrator privileges.

Create a new group with the same name as in your AD. Reboot the sonar to pick up the changes. Set new group administrator permissions using the sonar API.

 curl -X POST -v -u admin:Password 'http://mysonar/api/permissions/add_group?permission=admin&groupName=mynewgroup' 
+3
source

Source: https://habr.com/ru/post/1258039/


All Articles