I have a IAM
user with Role: BigQuery Data Editor
In my data set I did Share dataset
added the user with Can Edit
privileges.
However when I'm running my script which access BigQuery I get error 403
When I add to my IAM
user the Role BigQuery User
The script works.
The scripts runs only SELECT
query from a table in this data set.
I don't understand why I must grant BigQuery User
for this to work.
According to the documentation https://cloud.google.com/bigquery/docs/access-control
Rationale: The dataEditor role extends bigquery.dataViewer by issuing create, update, delete privileges for the tables within the dataset
roles/bigquery.dataViewer
has bigquery.tables.getData
which get table data
What am I doing wrong here?