Skip to main content

policy_set_from_dictionary

Function policy_set_from_dictionary 

Source
pub fn policy_set_from_dictionary(
    extensions: &Extensions<GroupContext>,
) -> Result<PolicySet, PolicyProjectionError>
Expand description

Read the four action slots from COMPONENT_REGISTRY alone. Invalid action trees return an error; they never become a different policy. Metadata fields retain their existing per-field deny fallback.