diff --git a/README.md b/README.md index 5d1175e..a9e3c12 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,9 @@ data "cedar_policyset" "example" { text = "resource.is_public" } unless { - text = "resource.owner == User::"alice" + text = "resource.owner == User::\"alice\"" } + } } ``` diff --git a/docs/index.md b/docs/index.md index 095853c..fe81f75 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ data "cedar_policyset" "example" { text = "resource.is_public" } unless { - text = "resource.owner == User::"alice" + text = "resource.owner == User::\"alice\"" } } } diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index 095853c..fe81f75 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -25,7 +25,7 @@ data "cedar_policyset" "example" { text = "resource.is_public" } unless { - text = "resource.owner == User::"alice" + text = "resource.owner == User::\"alice\"" } } }