sonar-crowd icon indicating copy to clipboard operation
sonar-crowd copied to clipboard

Create Crowd groups in Sonar automatically after login

Open jbob-bmw opened this issue 6 years ago • 1 comments

Hi all, we are using Crowd groups for authorization of different projects. So we have a lot of Crowd groups which should be created in Sonar automatically. At the moment I have to create the Sonar group manually and then the group memberships are fetched automatically with this nice plugin.

My idea is, that when fetching the groups from Crowd here:

org.sonar.plugins.crowd.CrowdGroupsProvider.doGetGroups(String username)

I would like to check whether all those groups do exist in Sonar. If not I want to create the group.

My problem is that I can not find the functionality in any of the classes in org.sonar.api Does anyone know whether to find this in Sonar API?

Kind regards

jbob-bmw avatar Feb 18 '20 14:02 jbob-bmw

I guess the best place to ask this question is at the sonarqube community forums https://community.sonarsource.com/

deepy avatar Feb 19 '20 13:02 deepy