Container Registry: Improve the experience for users viewing an image repository who does not have permissions to delete tags.
Problem to solve
In a recent community contribution, we updated the Container Registry UI by removing the checkbox that allows users to delete multiple tags if that user doesn't have permission to delete the tags. This was a solid improvement and declutters the UI.
This idea can be expanded on to ensure a clean user experience in a variety of situations, including the group view.
Intended users
- Delaney (Development Team Lead)
- Sasha (Software Developer)
- Devon (DevOps Engineer)
- Sidney (Systems Administrator)
User experience goal
Ensure a seamless experience for users who don't have permission to delete image tags while looking at the time list view.
This issue should also focus on ensuring the group level view is a good experience when a user has permissions to delete tags for some
Proposal
If a user does not have permissions to delete image tags in an image repository, remove the "Delete selected" button.
Note: The delete button per line item should remain in the UI, disabled, with hover text identifying that the user doesn't have permission to delete image tags.
Further details
How does this change impact the group level view?
If a user looks at the group level view container registry, will they end up in a situation where they can delete some tags but not others? If this is the case, we should continue to show the selector checkbox but have it disabled with a tooltip stating why the user cannot select it.
Permissions and Security
Documentation
Would it be worth including a note in the documentation that if a user does not see the selector checkboxes or the "Delete Selected" button, the reason is that they currently don't have permissions to delete the image repository/tag?
Availability & Testing
What does success look like, and how can we measure that?
Users who don't have permissions to delete image repositories or tags have a clutter-free experience.
Users with mixed permissions will experience a smooth UI that informs them which line items can be deleted and which cannot.
What is the type of buyer?
Is this a cross-stage feature?
No