mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
docs: remove duplicated word in Rego style guide (#8800)
The Rego style guide reads "will fail both in the the undefined case" — removed the duplicated "the". Signed-off-by: s3onghyun <s3onghyun.hong@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user