Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add another project on the sidebar with single service account #14

Open
tim-watcha opened this issue Sep 8, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@tim-watcha
Copy link

I have one service account connected to default project, but that service account also have permission to another projects too.
It seems like I can only add default project for the service account. please add a functionality to explore another projects on the side bar. thank you for the great project!

@tim-watcha tim-watcha changed the title Add another project with single service account Add another project on the sidebar with single service account Sep 8, 2023
@archiewood archiewood added the enhancement New feature or request label Sep 11, 2023
@archiewood
Copy link
Member

thanks for the suggestion. was not aware this was a possible pattern

@archiewood
Copy link
Member

On a bit of research, this is not super easy - BigQuery requires that you specify which project you are connecting to, so we cannot return all the projects using a SQL query (which is how the explorer is populated).

As a workaround if you use a service account, I suspect you could change the project-id in the JSON keyfile if you wanted to access the other project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants