Allow users to delete items from the package file list
Problem to solve
As part of our overall vision for packaging at GitLab, we want to provide a single interface for managing dependencies, registries, and package repositories. Users can delete packages leveraging the Packages API or they can delete the entire package. (see below screen shot)
However, we currently do not allow users to delete specific files from a given package from the user interface.
Intended users
Proposal
Allow users to select multiple/all files for a given package and delete them.
Expandable Files table with Delete Action |
---|
Note: The design is not intended to be pixel perfect, instead relying on already existing patterns.
User stories
I as a developer, when I am viewing the packages list at the project level, need the ability to remove files (e.g. pom, jar, metadata.xml, tar.gz) so that I can remove duplicates or files created in error and maintain a single source of truth.
- Once removed, files should be removed from storage.
- Delete permissions should follow the standard group/project permissions. (Developers and above can delete packages)
I as a developer, when I am viewing the packages list at the group level, need the ability to remove files (e.g. pom, jar, metadata.xml, tar.gz) so that I can remove duplicates or files created in error and maintain a single source of truth.
- Once removed, files should be removed from storage.
- Delete permissions should follow the standard group/project permissions. (Developers and above can delete packages)
Permissions and Security
- Project level: Developer and above can delete files
- Group level: Developer and above can delete files that
Documentation
There are no documentation updates needed for this issue.