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

Redshift Permissions Example Code Update #6738

Closed
1 task done
nicolesmith24 opened this issue Jan 8, 2025 · 2 comments · Fixed by #6742
Closed
1 task done

Redshift Permissions Example Code Update #6738

nicolesmith24 opened this issue Jan 8, 2025 · 2 comments · Fixed by #6742
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear

Comments

@nicolesmith24
Copy link

Contributions

  • I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates

https://docs.getdbt.com/reference/database-permissions/redshift-permissions

What part(s) of the page would you like to see updated?

The first command shown grant usage on database database_name to user_name; is not accurate. You cannot grant usage on a database, but you can on a schema.

Instead of USAGE you would want to use CONNECT grant connect on database database_name to user_or_group

Additional information

No response

@nicolesmith24 nicolesmith24 added content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear labels Jan 8, 2025
@mirnawong1
Copy link
Contributor

thank so much for raising this @nicolesmith24 ! i'll get this looked at on our end ✨

@mirnawong1
Copy link
Contributor

hey @nicolesmith24 ! we've created a pr to address this. you're absolutely right that there's no agrant usage on databasea ... in Redshift. however, there's also no agrant connect on databasea ... either since that's a Postgres thing. i've removed the line altogether now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content improvement Use this when an area of the docs needs improvement as it's currently unclear
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants