-
Notifications
You must be signed in to change notification settings - Fork 960
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
add example to redshift grants section #5156
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I am not the expert here, but based on my quick testing I don't think that this is 100% correct. My understanding is that
|
@@ -249,7 +249,20 @@ models: | |||
|
|||
<div warehouse="Redshift"> | |||
|
|||
* Granting to / revoking from is only fully supported for Redshift users (not groups or roles). | |||
For Redshift, you need to explicitly grant roles and groups access to your models, whether to single users, groups, or roles, and you can revoke access as well. |
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.
Would this be better suited here with a link from the note https://docs.getdbt.com/reference/resource-configs/redshift-configs or maybe at least also there?
benoit's feedback
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.
only one small change!
thanks so much @dataders ! i think I've folded in all your suggestions now 🙏 |
schema: my_schema | ||
description: "My schema" | ||
+grants: | ||
select: ["gspider"] # example of user access |
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.
👻 🕷️ 🕸️
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.
great! let's merge this! though as a reminder, dbt-labs/dbt-redshift#626
will be worked on in the next month which will require another pass at this page. Hopefully though, the result is the docs become simpler with less caveats
as discussed in slack thread](https://dbt-labs.slack.com/archives/C03SK9W08BC/p1714506360050039), closing this pr as this is not the intended behavior. see dbt-labs/dbt-redshift#415 for more info. |
raised in the slack communit, this PR sets to add info that grants roles/groups is supported for redshift.
raised in internal slack and also used discourse as sourc.e