Add support for authetication with deploy token to Generic Packages API

Problem to solve

Users should be able to authenticate using deploy tokens with the Generic Packages API.

Intended users

User experience goal

As a user, I want to be able to my deploy tokens to authenticate to the generic package registry in GitLab

Proposal

Add deploy_token_allowed: true to Generic Packages APU route settings.

Add support for authentication with deploy token to Generic Packages API.

What is the type of buyer?

GitLab Core

Edited by Jackie Porter