Skip to main content

generate_policy_cedar

Function generate_policy_cedar 

Source
pub fn generate_policy_cedar(
    metadata: &PolicyMetadata,
    policy_body: &str,
) -> String
Expand description

Generate Cedar policy text with annotations from metadata.

This creates a properly formatted Cedar policy with doc comments.