pub(crate) fn permitted<'a>( name: &str, value: &'a str, allowed: &[String], ) -> Result<&'a str, CatalogError>