Skip to content

Add maxAccessLevel field to project and group type

Abdul Wadood requested to merge 437682-graphql-project-max-access-level into master

What does this MR do and why?

It will return the maximum access level that the current user has inside the project or group.

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 queries on https://gdk.test:3000/-/graphql-explorer:

{
  groups(first: 100) {
    nodes {
      id
      maxAccessLevel {
        integerValue
        stringValue
      }
    }
  }
}
{
  projects(first: 100) {
    nodes {
      id
      maxAccessLevel {
        integerValue
        stringValue
      }
    }
  }
}

Related to #437682 (closed) #437683 (closed)

Edited by Abdul Wadood

Merge request reports