Function mz_adapter::rbac::check_plan

source ·
pub fn check_plan(
    coord: &Coordinator,
    catalog: &impl SessionCatalog,
    session: &Session,
    plan: &Plan,
    target_cluster_id: Option<ClusterId>,
    resolved_ids: &ResolvedIds
) -> Result<(), AdapterError>
Expand description

Checks if a session is authorized to execute a plan. If not, an error is returned.