Module types/output
APIs
APIs
interface SchemaPolicy
interface SchemaPolicyproperty create
create?: undefined | false | true;Should the specified ROLE have CREATE privileges to the specified SCHEMA.
property createWithGrant
createWithGrant?: undefined | false | true;Should the specified ROLE have CREATE privileges to the specified SCHEMA and the ability to GRANT the CREATE privilege to other ROLEs.
property role
role?: undefined | string;The ROLE who is receiving the policy. If this value is empty or not specified it implies the policy is referring to the PUBLIC role.
property usage
usage?: undefined | false | true;Should the specified ROLE have USAGE privileges to the specified SCHEMA.
property usageWithGrant
usageWithGrant?: undefined | false | true;Should the specified ROLE have USAGE privileges to the specified SCHEMA and the ability to GRANT the USAGE privilege to other ROLEs.