Hiding the Contributors page and / or the contributors' emails
Problem to solve
In the Contributors page (e.g. https://gitlab.com/gitlab-org/gitlab-ce/graphs/master ), the contributors' emails are plainly visible to anyone. As far as I know, there is no way to hide them. I can of course change my git settings to commit with another email, so the new email appears on this page instead, but :
- This forces me to change my git settings from all my workplaces.
- I still have to use a real email address (so I can verify it and link it to my account).
- On this page, an email address can only appear once for all contributors. As a matter of fact, several of my emails are visible on the Contributors page, because of case-sensitive issues (I appear as "My NAME" with "my@email1.com" and also as "My name" with "my@email2.com"). So I actually have to set up 2 fake emails.
Currently, this solution is not really easy to set up in the long-term, when the page's visibility could directly be configured on Gitlab's side.
Intended users
All developers who have committed on a project with a private email, and want to hide this email from reviewers or anyone who is not a project member.
Proposal
I can suggest 2 solutions :
- In Settings > General, add a visibility option for "Contributors", just like "Merge requests" and "Pipelines" :
- Adding another option somewhere (maybe in Settings > General as well) to at least visually hide the contributors' emails.
Permissions and Security
Changing the Contributors page's visibility would require the user to have access to the Settings > General page (so I'm guessing they need to be a "Maintainer"?).
What does success look like, and how can we measure that?
When the "Contributors" page is hidden, we would still be able to see it if we are a project member, but we would see a 404 when accessing this page while logged out (like the "Merge requests" and "Pipelines" pages when they're also restricted).
Thank you.