Skip to content

Commit

Permalink
Update syntax-policy.md
Browse files Browse the repository at this point in the history
Add note about @id not being special.
  • Loading branch information
kinclay authored Jan 8, 2025
1 parent 42f88c7 commit acf60a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/collections/_policies/syntax-policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ You can attach arbitrary key-value pairs to Cedar policies in the form of annota

You can place annotations only at the very top of the policy before the [effect](#term-policy-effect) element.

**Note**: `@id`is not special in the Cedar language, it behaves like any other annotation. The Cedar CLI uses the `@id` annotation to set policy IDs, but other interfaces, such as the Cedar APIs, have other ways to set policy IDs.

An annotation has the following form:

```cedar
Expand Down

0 comments on commit acf60a1

Please sign in to comment.