-
Notifications
You must be signed in to change notification settings - Fork 142
Description
Describe the bug
If you add a private GitHub project to git proxy, users without access to it or not logged into GitHub will be presented with tooltip errors whenever they visit the repository list or details page for that project.
As the additional data returned by the API call is non-essential (project metadata and images), we should suppress the error / reduce it down to a warning message in the console. The data will definitely be optional after #1043 as we can only retrieve it for GiutHub and GitLab and not other SCM providers/bare git repos (without them supporting it or doing further work).
To Reproduce
Steps to reproduce the behaviour:
- add a private project, e.g. https://github.com/finos/flowave-bpm-platform.git (which does exist, but is currently private)
- Confirm you can't see the project (visit the URL)
- Visit the repository listing page anbd observe the tooltip error.
Expected behaviour
The existence of a private project doesn't degrade the UI experience for users that don't have access to it.
Screenshots
