Skip to content

Migrate lock link to ::Pajamas::ButtonComponent

Paul Gascou-Vaillancourt requested to merge 417866-lock-link-pj-button into master

What does this MR do and why?

Migrate lock link to ::Pajamas::ButtonComponent

Migrates the directory lock button to the Pajamas-compliant component.

Screenshots or screen recordings

Before After
Lock Screenshot_2023-07-14_at_4.55.14_PM Screenshot_2023-07-14_at_4.52.54_PM
Unlock Screenshot_2023-07-14_at_4.55.27_PM Screenshot_2023-07-14_at_4.53.06_PM
Lock (unauthorized) Screenshot_2023-07-14_at_4.55.01_PM Screenshot_2023-07-14_at_4.53.47_PM
Unlock (unauthorized) Screenshot_2023-07-14_at_4.55.46_PM Screenshot_2023-07-14_at_4.53.23_PM

How to set up and validate locally

  1. Navigate to some sub-directory within a repository's file tree.
  2. Try impersonating users that have lower access levels to the project to see the different states.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #417866 (closed)

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading