Fix the column header on the artifacts page

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA. As a benefit of being a GitLab Community Contributor, you can request access to GitLab Duo.

What does this MR do and why?

Hide the bulk selection column on the Build > Artifacts page when the user doesn't allowed to delete artifacts.

Closes: #497289 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After
before.png after.mp4

How to set up and validate locally

With permissions

  1. Login as a user with >= maintainer permissions.
  2. Navigate to <project> -> Build -> Artifacts .
  3. The bulk deletion column should be visible.

Without permissions

  1. Login as a user with < maintainer permissions.
  2. Navigate to <project> -> Build -> Artifacts .
  3. The bulk deletion column should be hidden.
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading