pub async fn inspect_object(
client: &Client,
bucket: &str,
key: &str,
version_id: Option<String>,
capability_cache: &CapabilityCache,
profile_id: &ProfileId,
) -> Result<ObjectInspectorReport, AppError>Expand description
Fetch all object properties in parallel and return an ObjectInspectorReport.
HeadObjectis always called (hard failure if the key does not exist).GetObjectTaggingandGetObjectAclare called in parallel.- Restore-status parsing reads the
Restoreheader returned byHeadObject. AccessDeniedon tagging/ACL →SectionResult::Deniedrecorded in the capability cache so the UI can render disabled reasons.