Skip to main content

get_database_object_grants

Function get_database_object_grants 

Source
pub(super) async fn get_database_object_grants(
    client: &Client,
    catalog_table: &str,
    database: &str,
    schema: &str,
    name: &str,
) -> Result<Vec<ObjectGrant>, ConnectionError>
Expand description

Get privilege grants on a database object (table, source, secret, connection).

catalog_table is the system catalog table name (e.g., "mz_tables", "mz_secrets").