Skip to content

Protected packages: Delete protection for package formats

Proposal

This feature implements delete protection for packages in the Package Registry by introducing access level controls that prevent unauthorized or accidental package deletion. The implementation will add protection settings at the project level and visual indicators for protected packages. For specific implementation details, please refer to the implementation plan below, which outlines the backend, frontend, and documentation tasks required to complete this feature.

Implementation plan

Task Area Related issue MR
Add basics for package delete protection backend !179739 (merged)
Integrate delete protection for existing package types (npm, conan, pypi) in REST API backend !179931 (merged)
Add minimum_access_level_for_delete to GRAPHQL API backend !180260 (merged)
Add minimum_access_level_for_delete to REST API backend !180063 (merged)
Add minimumAccessLevelForDelete to project settings UI frontend !180416 (merged)
Add "protected" badge for package list overview in project frontend
Add "protected" badge for package list overview in group frontend
Integration of deletion protection in the GraphQL API backend #562365
Refine documentation regarding the field "Minimum access level for delete" documentation !186585 (merged)
Edited by 🤖 GitLab Bot 🤖