Skip to content

Commit

Permalink
Fix typo (#33)
Browse files Browse the repository at this point in the history
Signed-off-by: Charlie Egan <[email protected]>
  • Loading branch information
charlieegan3 authored Aug 7, 2024
1 parent 99802fc commit 78b0a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ When encountering undefined references inside of rules, evaluation of the rule h
undefined, unless of course, a `default` value has been provided. While saying `allow is undefined` or `allow is false`
if encountering undefined in a rule is likely desirable, this doesn't hold true when working with "inverted" rules -
i.e. rules like `deny` (as opposed to `allow`). Saying `deny is undefined` or `deny is false` if undefined is
encountered, essentially means that any occurence of undefined (such as when attributes are missing in the input
encountered, essentially means that any occurrence of undefined (such as when attributes are missing in the input
document) would lead to the `deny` rule not getting enforced. This is particularly common writing partial rules (i.e.
rules that build [sets](https://www.openpolicyagent.org/docs/latest/policy-language/#generating-sets) or
[objects](https://www.openpolicyagent.org/docs/latest/policy-language/#generating-objects)).
Expand Down

0 comments on commit 78b0a22

Please sign in to comment.