From 61e5f868acf3163bbd999b624e3e9467f1d55967 Mon Sep 17 00:00:00 2001 From: Clement Delafargue Date: Thu, 26 Oct 2023 14:54:29 +0200 Subject: [PATCH] errors: remove reference to authority/ambient tags --- biscuit-auth/src/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biscuit-auth/src/error.rs b/biscuit-auth/src/error.rs index eda089bf..295b2228 100644 --- a/biscuit-auth/src/error.rs +++ b/biscuit-auth/src/error.rs @@ -171,7 +171,7 @@ pub enum Signature { #[derive(Error, Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "serde-error", derive(serde::Serialize, serde::Deserialize))] pub enum Logic { - #[error("a rule provided by a block is generating facts with the authority or ambient tag, or has head variables not used in its body")] + #[error("a rule provided by a block is producing a fact with unbound variables")] InvalidBlockRule(u32, String), #[error("{policy}, and the following checks failed: {checks:?}")] Unauthorized {