-
Notifications
You must be signed in to change notification settings - Fork 24
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
Fixes roleset bindings for BigQuery datasets #130
Conversation
Does this also need to be changed to "datasets"?
|
@fairclothjm I think that's fine/intended since it's for mapping datasets->dataset which is specific to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment around the test. Nice find!
485c761
Not sure why pushing commits keeps dismissing reviews.. |
@fairclothjm - You're right that it should be |
… and binding modification
Overview
This PR fixes roleset bindings scoped to BigQuery datasets. There was a typo in the switch case when detecting the key type of the resource. You can see that the correct key is
projects/datasets
on resource_overrides.go#L12.Fixes #96
Fixes hashicorp/vault#10923
Testing
I manually tested that the service account principal created for the Vault roleset has the "BigQuery Data Viewer" scoped to the specified BigQuery dataset.
The following bindings were used: