Skip to content
Discussion options

You must be logged in to vote

How about the following approach?

  1. Grant share read privilege to schema owner role of schema with secure views:
owner_share_read:
  - MY_SHARE_NAME
  1. Create secure views referencing share using SnowDDL or DBT.

  2. Grant schema reader role to business role attached to end users:

schema_read:
  - MY_DB.MY_SCHEMA

End users will have access to secure views, but no access to share itself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BenKentzer
Comment options

Answer selected by BenKentzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants