Skip to content

Disable group readme mountpoint when gitlab-profile project is private

What does this MR do and why?

Disable group readme mountpoint when gitlab-profile project is private.

If a private gitlab-profile project exists in a group, the README is rendered without content.

image

In the case where a user can't see the gitlab-profile project, that README block should not be rendered.

Screenshots or screen recordings

No changes to UI, only conditions of the visibility of UI elements

How to set up and validate locally

  1. Create a public group
  2. Create a private gitlab-profile project within that group (Initialize with Readme enabled)
  3. Visit the group page as member (the readme should be visible)
  4. Visit the group page as non-member (the readme should not be visible)

MR acceptance checklist

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

Merge request reports

Loading