Is it possible to grant SELECT on all future tables on any schema in a database?
I'm trying to setup a Snowflake role that have access to all current and future tables in a given database: create role if not exists MYROLE; grant usage on database MYDB to role MYROLE; grant usage on all schemas in database MYDB to role MYROLE; grant usage on future schemas in database MYDB to role MYROLE; grant select on all tables in database MYDB to role MYROLE; grant select on future tables in database MYDB to role MYROLE; the SHOW FUTURE GRANTS IN DATABASE MYDB; confirms that the grants are there: created_on privilege grant_on name grant_to grantee_name grant_option ... USAGE SCHEMA MYD
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.