Hello, i have a problem that i don’t know how to handle. I have 2 Repos in Gitlab , RepoA and RepoB. In my gitlab user i have 3 ssh keys, one from my laptop and 2 from the 2 VM (VMA and VMB) that work with the 2 repos. In this way i can pull and push easy from the VMs and from my laptop. On RepoA i have a colaborator that also works. He has RepoA shared to his Gitlab account and he has access to VMA to push and pull code. He sould never have access to RepoB, so from here comes my problem. If he can guess the RepoB url , he can pull and see it on the VMA where he has access already just becouse Gitlab does not have a granular way o adding ssh keys per project. I probably am missing something very logical here but i just can’t see what. I don’t even know how to google search this. Could anybody give me some hints?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Is it possible to use git for multiple ssh keys, emails and accounts? | 1 | 1327 | August 10, 2021 | |
SSH key usage | 0 | 352 | November 21, 2022 | |
Gitlab ssh keys in Gitlab High avaliability | 0 | 478 | April 15, 2019 | |
Can't connect to Gitlab repositories with multiple keys | 0 | 304 | May 17, 2018 | |
Apart from 1 repo, the rest of my projects ask for ssh pass phrase everytime I pull or push (regardless of which PC I use) | 5 | 1008 | March 26, 2019 |