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

Allow grants to work with roles #177

Open
maxfirman opened this issue Apr 13, 2023 · 1 comment
Open

Allow grants to work with roles #177

maxfirman opened this issue Apr 13, 2023 · 1 comment

Comments

@maxfirman
Copy link

Describe the enhancement requested

Currently the grants only work for users not roles. This is hard coded here.

It would be convenient to be able to define grants for both users and roles.

The 'BigQuery' dbt adapter accomplishes this by allow the grantee to be specified with a role/user prefix separated by a colon. For example user:user_xyz or role:role_abc. See the dbt docs for an example.

It would be great to add the same functionality to the Dremio dbt adapter. Grantees specified without a role/user prefix could default to 'user' for backwards compatibility.

Justification for this enhancement

Ability to specify Dremio 'role' permissions from DBT.

@ravjotbrar
Copy link
Contributor

Thanks for raising this enhancement request @maxfirman!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants