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

Support for roles in grants #259

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from
Draft

Conversation

bcmeireles
Copy link
Contributor

Summary

Added support for roles in grants

Description

Grants can now be set for both users and for roles.
A prefix was added to handle this, with user: and role: being the valid prefixes. For example, user:dbt_test_user_1 and role:dbt_test_role_1.
If no prefix is provided, defaults to user for backwards compatibility.

Test Results

Tested manually, currently working on tests that will test both user and role grants. Extending the pipeline will be needed again as we will also need to create the roles in the dremio instance used for testing

Changelog

  • Grants now support roles

Related Issue

#177

@bcmeireles bcmeireles linked an issue Jan 3, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Allow grants to work with roles
1 participant