Skip to content

Hides package delete action for users without permission

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

Screen_Shot_2022-05-05_at_2.06.55_pm

For users without permission

https://3000-gitlaborg-gitlab-vifs282yb6t.ws-us43.gitpod.io/jashkenas/Underscore/-/packages

  • Screen_Shot_2022-05-05_at_2.32.00_pm

Closes #353985 (closed)

Edited by Rahul Chanila

Merge request reports

Loading