[go: up one dir, main page]

Skip to content

Display mirroring information for Developers on Project Page

Summary

We have two pieces of code to display the mirroring status for projects.

  1. We display the mirroring status on the main project page.
  2. We display the mirroring status under Repository > Commits.

https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/views/projects/commits/_mirror_status.html.haml

Currently, a user with the role Developer or lower is unable to take action on CI/CD Settings which includes being able to force update a mirror. This is expected. However, they are unable to see the mirroring status at all on the main project page. They can see this under Repository > Commits.

At some point, it looks like we hid the pull mirror update time from guest users, but I believe this actually prevents anyone who is not a Maintainer from seeing any mirror status information on the project page.

Proposal

I propose that we offer some consistency across both pages and we should display mirroring status information to Developers and Maintainers.

Screenshots

Project page as Owner: SCR-20220517-k1g-2

Project page as Developer: SCR-20220517-k1m

Repository > Commits screen as Developer: SCR-20220517-k1u-2