如何授予对架构或数据库中所有未来视图的select权限。这很好用,但我希望角色也可以访问所有未来的视图:
grant select on view <schema>.<view> to role <role>;有什么想法吗?
发布于 2020-12-21 23:47:57
如下所示的Grant on future objects (使用ACCOUNTADMIN角色):
确保已授予对数据库和架构的使用权限:
GRANT USAGE ON DATABASE <database> TO ROLE <role>;
GRANT USAGE ON SCHEMA <database>.<schema> TO ROLE <role>;对将来的对象授予select权限:
grant select on future tables [views] in schema <database>.<schema> to role <role>;
grant select on future views in schema <database>.<schema> to role <role>;https://stackoverflow.com/questions/65395709
复制相似问题