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

Jobs should be able to restrict target datasets #42

Closed
micimize opened this issue Feb 20, 2020 · 2 comments
Closed

Jobs should be able to restrict target datasets #42

micimize opened this issue Feb 20, 2020 · 2 comments
Assignees
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@micimize
Copy link

This is similar to the proposal in googleapis/google-cloud-python#6042, but relates to specific jobs rather than client bindings. Simply managing multiple keys isn't really a viable solution for some use cases, such as superset (apache/superset#9182)

Even for less security-sensitive usecases, I think this would be a valuable affordance for developers to more clearly define code contracts.

@busunkim96 busunkim96 transferred this issue from googleapis/google-cloud-python Feb 21, 2020
@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery API. label Feb 21, 2020
@busunkim96 busunkim96 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Feb 21, 2020
@shollyman
Copy link
Contributor

This feels like something better solved by using the bigquery service's access control and governance features, not a weak enforcement in the client library. If that set of features is insufficient, I'd file a request on the BQ issue tracker:

https://b.corp.google.com/issues/new?component=187149&template=0

@micimize
Copy link
Author

That makes sense – a conditional IAM policy based solution would make sense for this use-case, and there is an issue for it in the public issue tracker. Will continue discussion there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery API. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants