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

Create Crowd groups in Sonar automatically after login #32

@jbob-bmw

Description

@jbob-bmw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions