pub fn compute_entity_manifest(
schema: &Schema,
pset: &PolicySet,
) -> Result<EntityManifest, EntityManifestError>
Available on crate feature
entity-manifest
only.Expand description
Given a schema and policy set, compute an entity manifest.
The policies must validate against the schema in strict mode, otherwise an error is returned. The manifest describes the data required to answer requests for each action.
This feature is experimental. For more information see https://github.com/cedar-policy/rfcs/blob/main/README.md#experimental-features