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

[Feature]: STREAMLITS - Enable ALL and FUTURE grants in snowflake_grant_privileges_to_database_role #3423

Open
1 task
jarach opened this issue Feb 27, 2025 · 1 comment
Assignees
Labels
feature-request Used to mark issues with provider's missing functionalities

Comments

@jarach
Copy link

jarach commented Feb 27, 2025

Company Name

No response

Use Cases or Problem Statement

Since 2024_08 bundle it is possible to GRANT USAGE FUTURE STREAMLITS IN SCHEMA ... TO DATABASE ROLE ...

Unfortunately it is missing in Snowflake provider:
Error: expected [{{} on_schema_object} {{} {{{{} 78}} 0xc001058750}} {{} future} {{} {{{{} 78}} 0xc0010592c0}} {{} object_type_plural}] to be one of ["ALERTS" "AUTHENTICATION POLICIES" "DATA METRIC FUNCTIONS" "DYNAMIC TABLES" "EVENT TABLES" "EXTERNAL TABLES" "FILE FORMATS" "FUNCTIONS" "GIT REPOSITORIES" "HYBRID TABLES" "ICEBERG TABLES" "MATERIALIZED VIEWS" "MODELS" "NETWORK RULES" "NOTEBOOKS" "PASSWORD POLICIES" "PIPES" "PROCEDURES" "SECRETS" "SERVICES" "SEQUENCES" "SNAPSHOTS" "STAGES" "STREAMS" "TABLES" "TASKS" "VIEWS" "DATASETS"], got STREAMLITS

Category

category:grants

Object type(s)

resource:grant_privileges_to_database_role

Proposal

Enable STREAMLIT for ALL and FUTURE grants in snowflake_grant_privileges_to_database_role

How much impact is this issue causing?

Medium

Additional Information

No response

Would you like to implement a fix?

  • Yeah, I'll take it 😎
@jarach jarach added the feature-request Used to mark issues with provider's missing functionalities label Feb 27, 2025
@sfc-gh-jcieslak sfc-gh-jcieslak self-assigned this Feb 28, 2025
@sfc-gh-jcieslak
Copy link
Collaborator

sfc-gh-jcieslak commented Feb 28, 2025

Hey @jarach 👋
I'll try to squeeze it into the next provider version. As you can see in the documentation STREAMLITS are allowed for on_all, but were disabled for on_future, because of the Snowflake error. Currently, it seems to work, so I'll update the validation rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Used to mark issues with provider's missing functionalities
Projects
None yet
Development

No branches or pull requests

2 participants