pub fn admit_disclosure_with_inputs<E: MetadataExecutor, T>(
db: &mut E,
intent: &DisclosureIntent,
capture: impl FnOnce(&DisclosureSnapshot, Vec<GovernedDatasetLocation>) -> Result<T, ()>,
) -> Result<(DisclosureSnapshot, T), PgMetaError>where
E::Row: SchemaStatusRow,Expand description
Keep the metadata policy/version locks until the Lake adapter has captured immutable input capabilities. A failed capture rolls the decision back.