Skip to content

Commit

Permalink
✏️ Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ujibang committed Sep 18, 2023
1 parent c856026 commit bd543d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/security/authorization.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ RESTHeart extends this language introducing the following new predicates that ex
|`true` if the request content is bson and the property `key` (can use the dot notation) is an array that contains all `values`
|if the request content is `{ "a": [ "foo", "bar" ] }` then `bson-request-array-contains(key=a, values='"foo"' )` and `bson-request-array-contains(key=a, values={ '"foo"', '"bar"' } )` are `true`; `bson-request-array-contains(key=a, values={ '"foo"', '"baz"' } )` is `false`
|`bson-request-array-is-subset` _from v7.5_
|`true` if the request content is bson and the property 'key' (can use the dot notation) is an array that is a subset of 'values' |if the request content is `{ "a": [ "foo", "bar" ] }` then `bson-request-array-is-subset(key=a, values={ '"foo"', '"bar"', '"baz"' })` is `true`; `bson-request-array-is-subset(key=a, values={ '"foo"', '"baz"' })` is `false`
|`true` if the request content is bson and the property `key` (can use the dot notation) is an array that is a subset of `values` |if the request content is `{ "a": [ "foo", "bar" ] }` then `bson-request-array-is-subset(key=a, values={ '"foo"', '"bar"', '"baz"' })` is `true`; `bson-request-array-is-subset(key=a, values={ '"foo"', '"baz"' })` is `false`
|===

*Note*: the double quotes in `values` since each element must be valid bson such as `1` (number), `"1"` (string), `"bar"` (string) or `{"foo": "bar"}` (object)
Expand Down

0 comments on commit bd543d7

Please sign in to comment.