-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 9.6.5
-
Component/s: Smart Mirroring
-
None
-
1
-
Severity 3 - Minor
-
1
Issue Summary
When having a public repo in our instance, when a user tries to clone it from the mirror it doesn't work unless we explicitly add read permissions for that user. We can replicate the behavior by performing these steps:
Steps to Reproduce
- Create a test repository.
- Enable public access to the repository.
- Create a test user.
- Try to clone the repository using SSH from the main instance: works.
- Try to clone the repository using SSH from the mirror instance: doesn't work.
- Add read permissions for the test user on the test repository.
- Try to clone the repository using SSH from the main instance: works.
- Try to clone the repository using SSH from the mirror instance: also works.
Expected Results
SSH Clone works through Mirror instance/URL
Actual Results
Clone doesn't work while performing it through Mirror SSH Clone URL unless permissions have been added, even though the repo is public.
Workaround
This behavior doesn't show up if we use HTTPS.
The user trying to clone can be manually added to the repository's permission list. Read access is enough for them to clone via SSH from the mirror.