Why an external user with guest role cannot access an internal repo when it is granted to?
I have a problem giving permissions in gitlab. I want to have externals users with guest (role) permissions to download one internal project.
The gitlab documentation says the following:
- Users with Guest role can download the project only if it is public or internal.
- Externals users can only access projects to which they are explicitly granted access, thus hiding all other internal or private ones from them. Access can be granted by adding the user as member to the project or group.
I have the next configuration in gitlab:
- One user created as external user named
- One internal project named
userexternalas member with the guest role.
userexternal can download (
clone, etc) the
internalproject because he has access granted.
userexternal cannot download
internalproject. The page returns a 403 error (forbidden access).
Cloning into 'internalproject'... remote: You are not allowed to download code from this project. fatal: unable to access 'https://userexternal:PASS@example.com/internalproject.git/': The requested URL returned error: 403