-
Notifications
You must be signed in to change notification settings - Fork 367
update the BQ permission requirement section #5098
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
Conversation
@@ -39,4 +39,11 @@ Permission | Details | |||
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists | |||
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking | |||
|
|||
The `bigquery.datasets.*` permissions can be scoped only to the `__segment_reverse_etl` dataset. If you don't wish to grant `bigquery.datasets.create` access, you may create this dataset yourself, but Segment still needs `bigquery.datasets.get` access. | |||
If you don't wish to grant `bigquery.datasets.create` access, you may create this dataset yourself, and Segment needs the following permissions: |
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.
If you don't wish to grant `bigquery.datasets.create` access, you may create this dataset yourself, and Segment needs the following permissions: | |
If you don't want to grant Segment `bigquery.datasets.create` access, you can create your own `__segment_reverse_etl` dataset and give Segment the following permissions: |
@@ -39,4 +39,11 @@ Permission | Details | |||
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists |
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.
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists | |
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists. |
@@ -39,4 +39,11 @@ Permission | Details | |||
`bigquery.datasets.get` | This allows Segment to determine if the aforementioned dataset exists | |||
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking |
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.
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking | |
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking. |
`bigquery.datasets.get` | This allows Segment to determine if the `__segment_reverse_etl` dataset exists | ||
`bigquery.tables.create` | This allows Segment to determine if the tables Segment uses to track state in `__segment_reverse_etl` dataset exists | ||
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking |
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.
`bigquery.datasets.get` | This allows Segment to determine if the `__segment_reverse_etl` dataset exists | |
`bigquery.tables.create` | This allows Segment to determine if the tables Segment uses to track state in `__segment_reverse_etl` dataset exists | |
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets/tables your model query references and manage tables that Segment uses for tracking | |
`bigquery.datasets.get` | This allows Segment to determine if the `__segment_reverse_etl` dataset exists. | |
`bigquery.tables.create` | This allows Segment to determine if the tables Segment uses to track state in the `__segment_reverse_etl` dataset exists. | |
`bigquery.jobs.create` | This allows Segment to execute queries on any datasets or tables your model query references, and also allows Segment to manage tables used for tracking. |
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.
Hey @stayseesong, I assume the above suggested change for line 47 applies to line 40 as well?
src/connections/reverse-etl/reverse-etl-source-setup-guides/bigquery-setup.md
Show resolved
Hide resolved
Thank you for your contribution! Your pull request is merged, but may take a day or two to appear on the site. |
Proposed changes
Updating the permissions required if a rETL BigQuery customer creates the
__segment_reverse_etl
dataset themselves.Merge timing
ASAP once approved
Related issues (optional)