From f4121fb38f03fe446a01f917d493b2ab412802ee Mon Sep 17 00:00:00 2001 From: SEONGHYUN HONG Date: Fri, 19 Jun 2026 01:41:01 +0900 Subject: [PATCH] docs: remove duplicated word in Rego style guide (#8800) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Rego style guide reads "will fail both in the the undefined case" — removed the duplicated "the". Signed-off-by: s3onghyun --- docs/docs/style-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/style-guide.md b/docs/docs/style-guide.md index eb93220531..b45576f6c5 100644 --- a/docs/docs/style-guide.md +++ b/docs/docs/style-guide.md @@ -323,7 +323,7 @@ deny contains "User is anonymous" if not authenticated_user authenticated_user if input.user_id != "anonymous" ``` -In the above case, the `authenticated_user` rule will fail **both** in the the undefined case, and if defined +In the above case, the `authenticated_user` rule will fail **both** in the undefined case, and if defined but equal to "anonymous". Since the result of the helper rule is negated in the `deny` rule, both cases are covered.