Skip to main content

project_manifest_kinds

Function project_manifest_kinds 

Source
pub fn project_manifest_kinds(
    manifest: &PortableAppManifest,
    grant: &PermissionGrant,
    kinds: Option<&[ProjectionKind]>,
) -> Result<ProjectedApp, AppManifestError>
Expand description

Project only the requested kinds (still authorize the full intent set).

When kinds is None, every matching entry kind is projected. Permission denial is identical regardless of which kinds are requested — escalation is checked before filtering.