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

fix: Don't throw an error on unhandled Role Grants #1414

Merged
merged 1 commit into from
Dec 22, 2022

Conversation

joshelser
Copy link
Contributor

Some preview functionality to Snowflake can result in extra role grants which can break this provider, e.g. unknown grantee type .... While it's not a great idea to update this provider with non-public role grants, it's very helpful to simply ignore the roles that the provider doesn't currently handle.

Test Plan

  • acceptance tests
  • acceptance test against a Snowflake account with a preview enabled which adds new role grants

References

None

I'll see if I can get the acceptance tests working against such an account.

Some preview functionality to Snowflake can result in extra role grants
which can break this provider, e.g. `unknown grantee type ...`. While
it's not a great idea to update this provider with non-public
role grants, it's very helpful to simply ignore the roles that the
provider doesn't currently handle.
@sfc-gh-swinkler
Copy link
Collaborator

/ok-to-test sha=7753454c

@github-actions
Copy link

Integration tests success for 7753454c

@sfc-gh-swinkler sfc-gh-swinkler merged commit be7e78b into Snowflake-Labs:main Dec 22, 2022
@sfc-gh-swinkler
Copy link
Collaborator

@joshelser thank you for your contribution!

@joshelser
Copy link
Contributor Author

Thanks Scott!

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

Successfully merging this pull request may close these issues.

2 participants