DataBiosphere / data-explorer

BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

"Forbidden: 403 ... Access Denied" when deploying API to Google Cloud #225

Closed mbookman closed 5 years ago

mbookman commented 5 years ago

Trying to deploy my dataset to Google Cloud:

$ deploy/deploy-api.sh my_config
...
Forbidden: 403 GET https://www.googleapis.com/bigquery/v2/projects/<project-id>/datasets/<dataset>/tables/<table>: Access Denied: Table <table>: The user <dataset>-data-explorer@appspot.gserviceaccount.com does not have bigquery.tables.get permission for table <table>.
...

The data-explorer-indexer service account does already have permissions on this table, but the data-explorer service account does not. This appears to be a recent change.

melissachang commented 5 years ago

We are removing the need for this permission in #226.