Replies: 1 comment 2 replies
-
Normally you're not supposed to create admin roles with tools, since it will cause a circular dependency. Reading / writing to all schemas created by SnowDDL should be possible by specifying
But it kind of defeats the purpose of having role hierarchy and even having separate schemas. I would recommend to use at least a basic prefix to split permissions, e.g.
|
Beta Was this translation helpful? Give feedback.
-
I am trying to create read only and read write permission custom role on all databases, schemas, objects i.e. on account level
business_role.yml
admin role
dev_admin:
global_roles:
- create database
- create role
- create schema
Tech role
read_role:
read_role:
grants:
DATABASE:USAGE:
- test_db
SCHEMA:USAGE:
- test_db.*
do I need to specify all database one by one to have read only role
But I see I need to specify each grant as above, I have not find particular usage of global privs that can be granted all at once, how do I define the custom role on account level which has access to create / read / write on all dbs, schemas, roles etc along with FUTURE GRANTS. can you please share specific usage
I want to create one read only role on all dbs,schemas and objects underneath those schemas and other full admin role with full access.
also how do I assign SYSADMIN or SECURITYADMIN to this custom roles?
Beta Was this translation helpful? Give feedback.
All reactions