Skip to content

Migrate packages and registries graphql to add userPermissions field

The following discussion from !110721 (merged) should be addressed:

Proposal

Move the user related permission to a new field userPermissions in the GraphQL queries within packages & registries similar to example above.

Implementation guide

  1. introduce the new fields in the backend.
  2. read those fields from the frontend.
  3. mark the old fields as deprecated.
  4. remove the old fields.

constraints

(3.) needs to happen at least 6 releases before (4.) and (4.) should happen in a major release (from https://docs.gitlab.com/ee/api/graphql/#deprecation-and-removal-process).

Edited by Rahul Chanila