Skip to content

Align Container Registry API Delete Permissions with UI

Jason Goodman requested to merge container-registry-api-perms-58271 into master

What does this MR do?

Change the container registry API permissions to allow the Developer role to delete tags via the following endpoint:

  • DELETE /projects/:id/registry/repositories/:repository_id/tags/:tag_name

This updates the container registry API permissions to be in line with the UI permissions.

Relevant issue: #58271 (closed)

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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 Kamil Trzciński

Merge request reports