policy: implement the missing '!='

https://github.com/ucan-wg/delegation/pull/15
This commit is contained in:
Michael Muré
2025-01-22 14:12:41 +01:00
parent 9c141029c3
commit 7f9cb6426c
7 changed files with 252 additions and 22 deletions

View File

@@ -272,12 +272,14 @@ func ExampleFromSealed() {
// Policy (pol): [
// ["==", ".status", "draft"],
// ["all", ".reviewer",
// ["like", ".email", "*@example.com"]],
// ["like", ".email", "*@example.com"]
// ],
// ["any", ".tags",
// ["or", [
// ["==", ".", "news"],
// ["==", ".", "press"]]]
// ]
// ["==", ".", "press"]
// ]]
// ]
// ]
// Nonce (nonce): 000102030405060708090a0b
// Meta (meta): {}