Add soloOwned argument to user groups GraphQL field

What does this MR do and why?

Add soloOwned argument to user groups GraphQL field. To be used in Draft: [skip ci] Draft: Show sole-owner groups ... (!257145 - closed)

Query Plan:

References

Related to #629289 (closed)

Screenshots or screen recordings

image

How to set up and validate locally

  1. Go to https://gdk.test:3443/-/graphql-explorer and run the query:
{
  currentUser {
    groups(soloOwned: true) {
      count
      nodes {
        id
        name
        fullPath
      }
    }
  }
}```

## MR acceptance checklist

Evaluate this MR against the [MR acceptance checklist](https://docs.gitlab.com/development/code_review/#acceptance-checklist).
It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Shane Maglangit

Merge request reports

Loading
Loading