Skip to main content

validate_action_entries

Function validate_action_entries 

pub fn validate_action_entries(
    membership: Option<&ComponentMetadata>,
    admins: Option<&ComponentMetadata>,
) -> Result<(), PolicyProjectionError>
Expand description

validate_registry_action_policies given the registry’s two action entries, GROUP_MEMBERSHIP and ADMIN_LIST, as ComponentRegistry::get returns them. A caller that holds the registry in decoded form reads these two entries instead of building a registry.