From b358203b4bf6395ab2c15ec278d47acd96886e77 Mon Sep 17 00:00:00 2001 From: carlineng-sfc <50422513+carlineng-sfc@users.noreply.github.com> Date: Wed, 17 Jul 2019 17:32:43 -0700 Subject: [PATCH] Update GRANT statements in readme Previous GRANTs in the README will fail. From Snowflake docs: https://docs.snowflake.net/manuals/user-guide/data-share-consumers.html#granting-privileges-on-a-shared-database --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 3e6c3bf..7e9d5ea 100644 --- a/README.md +++ b/README.md @@ -41,9 +41,7 @@ To access the ACCOUNT_USAGE share, an account administrator must grant the user As an example, The commands below would be used if the user in your looker connection was granted the "looker_role" and that is how you plan on permissioning the SNOWFLAKE shared DB: ``` -grant usage on database SNOWFLAKE to role looker_role; -grant usage on schema SNOWFLAKE.ACCOUNT_USAGE to role looker_role; -grant select on all tables in schema SNOWFLAKE.ACCOUNT_USAGE to role looker_role; +grant imported privileges on database SNOWFLAKE to role looker_role; ```