Create Crowd groups in Sonar automatically after login
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
I guess the best place to ask this question is at the sonarqube community forums https://community.sonarsource.com/