Reference_Usage on Shares #290
-
|
Hello! I've tried a few different things, but I keep hitting a brick wall. Essentially, I have 3 databases: AccountA-MasterDB --> Shared to --> AccountB-Share --> AccountB-UserArea (using secure views). I only want the users to be able to see the AccountB-UserArea database. There is no user access to AccountA at all, so this part is covered. AccountB-Share is created by AccountAdmin role - I couldn't see a way of doing this in SnowDDL I could do this manually by granting reference usage on the share database to the SnowDDL_Admin role (and to the dbt runner role), but I'd rather manage it through SnowDDL if I can. Any thoughts? Thanks Ben |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
How about the following approach?
End users will have access to secure views, but no access to share itself. |
Beta Was this translation helpful? Give feedback.
How about the following approach?
Create secure views referencing share using SnowDDL or DBT.
Grant schema reader role to business role attached to end users:
End users will have access to secure views, but no access to share itself.