Skip to content
This repository has been archived by the owner on Aug 21, 2021. It is now read-only.

Create Crowd groups in Sonar automatically after login #32

Open
jbob-bmw opened this issue Feb 18, 2020 · 1 comment
Open

Create Crowd groups in Sonar automatically after login #32

jbob-bmw opened this issue Feb 18, 2020 · 1 comment

Comments

@jbob-bmw
Copy link

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

@deepy
Copy link
Owner

deepy commented Feb 19, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants