Function validate_component_write
pub fn validate_component_write(
change: &ComponentChange<'_>,
registry: &ComponentRegistry,
) -> Result<(), ComponentPermissionError>Expand description
Validate whether the change’s actor is allowed to perform the proposed
ComponentChange, as ComponentWriteValidator::validate does.
It decodes the component’s registry entry for this one change. To judge
many changes against one registry, keep one ComponentWriteValidator.