External Guest user not able to view internal project
Summary
As per our documentation, it appears that a Guest External User should be able to view a repository code, however, this is not the case. Perhaps the documentation is not clear
Doc: https://docs.gitlab.com/ee/user/permissions.html#guest-user
External User: https://docs.gitlab.com/ee/user/permissions.html#external-users-permissions
In cases where it is desired that a user has access only to some internal or private projects, there is the option of creating External Users. This feature may be useful when for example a contractor is working on a given project and should only have access to that project.
Steps to reproduce
Add a Guest External User to Internal Project:
External Guest User can not View Repository
According to the docs above and Project member permissions, this should be possible.
ZD: https://gitlab.zendesk.com/agent/tickets/132040
What is the expected correct behavior?
External Guest User should be able to view the repository.
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Ubuntu 16.04 Proxy: no Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.22.0 Sidekiq Version:5.2.7 Go Version: unknown
GitLab information Version: 12.2.5-ee Revision: e817f2e2864 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 10.9 URL: http://167.71.37.171 HTTP Clone URL: http://167.71.37.171/some-group/some-project.git SSH Clone URL: git@167.71.37.171:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: no Using Omniauth: yes Omniauth Providers:
GitLab Shell Version: 9.3.0 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git root@julius-test-large-db:~#
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true)(we will only investigate if the tests are passing)

