Skip to content

Do not export certain models when using Relations Export API

What does this MR do?

Relations export API https://docs.gitlab.com/ee/api/group_relations_export.html exports all Group/Project top level relations that are defined here:

This API has been introduced to support Group Migration feature (also known as Bulk Imports) https://docs.gitlab.com/ee/user/group/import/ however not all exported relations are needed by Bulk Import functionality, specifically members export, as Bulk Import uses GraphQL API to import members from source to destination Gitlab instance.

This MR adds a list of 'skipped' relations to relations export api, as they are not needed.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by George Koltsov

Merge request reports

Loading