DefaultPrivilegesState constructor

const DefaultPrivilegesState({
  1. Input<String>? database,
  2. Input<String>? objectType,
  3. Input<String>? owner,
  4. Input<List<String>>? privileges,
  5. Input<String>? role,
  6. Input<String>? schema,
  7. Input<bool>? withGrantOption,
})

Creates a new DefaultPrivilegesState. database The database to grant default privileges for this role. objectType The PostgreSQL object type to set the default privileges on (one of: table, sequence, function, routine, type, schema). owner Specifies the role that creates objects for which the default privileges will be applied. privileges List of privileges (e.g., SELECT, INSERT, UPDATE, DELETE) to grant on new objects created by the owner. An empty list could be provided to revoke all default privileges for this role. role The role that will automatically be granted the specified privileges on new objects created by the owner. schema The database schema to set default privileges for this role. withGrantOption Permit the grant recipient to grant it to others

Implementation

const DefaultPrivilegesState({
  this.database,
  this.objectType,
  this.owner,
  this.privileges,
  this.role,
  this.schema,
  this.withGrantOption,
});