Skip to content

Hide clone button for users, who can't download project

Nataliia Radina requested to merge 385456-hide-clone-button into master

What does this MR do and why?

Hides clone button for users, who can't download project.

Screenshots or screen recordings

Before After
Screenshot_2023-01-24_at_16.19.57 Screenshot_2023-01-24_at_16.12.25

How to set up and validate locally

It is a bit tricky, you need to create user with read_code. The instructions how to do it can be found here The button location is in the project page

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 #385456 (closed)

Merge request reports