Add archive_group ability to GroupPermissions GraphQL type

What does this MR do and why?

This MR adds the archive_group ability to the Group permission type in the GraphQL schema. The corresponding test spec has been updated to include the new permission in the expected permissions array.

References

Expose `archiveGroup` in Groups.userPermissions... (#555365 - closed)

How to set up and validate locally

{
  groups(first: 2) {
    nodes {
      userPermissions {
        archiveGroup
      }
    }
  }
}
{
  "data": {
    "groups": {
      "nodes": [
        {
          "userPermissions": {
            "archiveGroup": false
          }
        },
        {
          "userPermissions": {
            "archiveGroup": false
          }
        }
      ]
    }
  },
  "correlationId": "01K225RGGCMPR8JHKDJK9CF1N1"
}

MR acceptance checklist

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

Related to #555365 (closed)

Merge request reports

Loading