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.
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
- Create a public group
- Create a private
gitlab-profile
project within that group (Initialize with Readme enabled) - Visit the group page as member (the readme should be visible)
- 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.
-
I have evaluated the MR acceptance checklist for this MR.