Function mz_sql::rbac::generate_rbac_requirements
source ยท fn generate_rbac_requirements(
catalog: &impl SessionCatalog,
plan: &Plan,
active_conns: impl FnOnce(u32) -> Option<RoleId>,
target_cluster_id: Option<ClusterId>,
role_id: RoleId,
) -> RbacRequirements
Expand description
Generates all requirements needed to execute a given plan.