Logged in user may see the wiki's start page on the projects homepage even if he is not allowed to see the wiki
Summary
Gitlab provides several access levels and configuration options when creating a repository. There are various settings you can make like “access to repository” or “access to Wiki”. However some of this settings do not have the effect you would expect and internal information is exposed.
I'd like to create a project that has only its issue tracker open to the public (actually “internal” not public). All other information of the project should be restricted to the team's members.
Steps to reproduce
- Create a public/internal project here on Gitlab.com
- Set security settings as follows:
- Access repository as guest (not logged in) and/or non-member (logged in but no explicit access to project)
Example Project
https://gitlab.com/mburtscher/test-project
What is the current bug behavior?
- Logged in user may see the wiki's start page on the projects homepage even if he is not allowed to see the wiki's start page on the wiki context.
What is the expected correct behavior?
- No access to wiki at all. This is basically the case but the wiki “home” page is displayed on the project's homepage for logged in users.
Possible fixes
- Do not show wiki's “home” page on homepage of project if user does not have access to wiki.
Edited by Brian Neel