Hides package delete action for users without permission
requested to merge 353985-the-package-deletion-button-is-shown-to-users-without-the-permission-to-delete-a-package into master
Issue
The "delete package" action is shown for users who don't have the permission to perform the action.
Expected behavior
The "delete package" action shouldn't be shown for users who don't have the permission to perform the action.
Screenshots
For users with permission
Continues existing behaviour
For users without permission
https://3000-gitlaborg-gitlab-vifs282yb6t.ws-us43.gitpod.io/jashkenas/Underscore/-/packages
Closes #353985 (closed)
Edited by Rahul Chanila