|
|
4c1ae3a0be
|
refactor(pkg): Migrate package imports to use new code.sonr.org/go/ucan module path
|
2026-01-08 15:46:00 -05:00 |
|
Michael Muré
|
4c81ac778e
|
policy: fix tests now that selector evaluation is clearer
https://github.com/ucan-wg/delegation/pull/15
https://github.com/ucan-wg/delegation/pull/16
|
2025-01-23 12:28:02 +01:00 |
|
Michael Muré
|
7f9cb6426c
|
policy: implement the missing '!='
https://github.com/ucan-wg/delegation/pull/15
|
2025-01-22 14:12:41 +01:00 |
|
Steve Moyer
|
ce1a4b6e32
|
test(invocation): verify arguments versus aggregated policies
|
2024-11-27 10:20:40 -05:00 |
|
Steve Moyer
|
11bc085c60
|
test(policy): update to handel statement returned from Match
|
2024-11-07 13:17:22 -05:00 |
|
Steve Moyer
|
a4a8634eb8
|
Merge branch 'v1' into feat/complete-invocation-stub
|
2024-11-07 13:14:03 -05:00 |
|
Michael Muré
|
f9065d39d8
|
policy: make Match also return the failing statement
It's a powerful capability, so let's expose it.
I also found a bug in the process.
|
2024-11-07 15:33:21 +01:00 |
|
Steve Moyer
|
962e897ff5
|
Otest(policy): refactor matching test from delegation spec
|
2024-11-06 12:18:15 -05:00 |
|
Michael Muré
|
72f4ef7b5e
|
policy: fix incorrect test for PartialMatch
|
2024-11-04 19:07:36 +01:00 |
|
Fabio Bozzo
|
02be4010d6
|
add array quantifiers tests and tiny fix
|
2024-11-04 18:50:30 +01:00 |
|
Michael Muré
|
61e031529f
|
policy: use "any"
|
2024-11-04 18:41:18 +01:00 |
|
Fabio Bozzo
|
bc847ee027
|
fix literal.Map to handle list values too
|
2024-11-04 17:10:57 +01:00 |
|
Fabio Bozzo
|
5bfe430934
|
add test cases for missing optional values for all operators
|
2024-11-04 17:07:32 +01:00 |
|
Fabio Bozzo
|
10b5e1e603
|
add test cases for optional, like pattern, nested policy
|
2024-11-04 13:04:54 +01:00 |
|
Michael Muré
|
400f689a85
|
literal: some better typing
|
2024-11-04 11:15:12 +01:00 |
|
Fabio Bozzo
|
9e9c632ded
|
revert typo
|
2024-11-01 17:47:47 +01:00 |
|
Fabio Bozzo
|
b210c69173
|
tests for partial match
|
2024-11-01 17:43:55 +01:00 |
|
Fabio Bozzo
|
6d85b2ba3c
|
additional tests for optional selectors
|
2024-11-01 13:07:46 +01:00 |
|
Michael Muré
|
a8780f750c
|
policy: remove remnant of policy matching, that concept doesn't really work with complex policies
Maybe it will be revived later.
|
2024-10-24 11:17:38 +02:00 |
|
Michael Muré
|
570bcdcb6c
|
policy: comment out "filtering" of policies, concept that doesn't really work
|
2024-10-23 11:25:07 +02:00 |
|
Michael Muré
|
7fa3ba1492
|
policy: add a way to filter policies with a path
Based on exploration work https://github.com/ucan-wg/go-ucan/pull/27
|
2024-10-16 13:48:01 +02:00 |
|
Michael Muré
|
2ad3aeb6da
|
policy: match is now a method of Policy
|
2024-10-15 16:53:06 +02:00 |
|
Michael Muré
|
51e8d5ce04
|
policy: fluent construction
|
2024-10-15 13:06:46 +02:00 |
|
Steve Moyer
|
6075c19957
|
feat: reorganize packages
|
2024-09-24 11:40:28 -04:00 |
|