pub fn check_item_usage(
    catalog: &impl SessionCatalog,
    session: &Session,
    resolved_ids: &ResolvedIds,
    plan: Option<&Plan>
) -> Result<(), AdapterError>
Expand description

Checks if a session is authorized to use resolved_ids. If not, an error is returned.