Skip to content

Add endpoint with standard roles and members count for groups

Jarka Košanová requested to merge 472745-role-counts-selfm into master

What does this MR do and why?

In !161802 (merged) we created a graphQL endpoint with standard roles members counts for self-managed instances (display the data for the whole instance).

In this MR we are adding an endpoint fetching the data for a group, this one will be used on SaaS.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

Run the following graphQL query for a group.

query {
  group(fullPath: "flightjs") {
    id
    name
    standardRoles {
      nodes {
        accessLevel
        name
        membersCount
      }
    }
  }
}

Related to #472745 (closed)

Edited by Jarka Košanová

Merge request reports

Loading