Rob Crowe
08/15/2022, 9:43 AMtimestamp(P.attr.some_claim).timeSince() < duration("1h")
. Is there a good way to make those policy tests deterministic?
P.attr.some_claim
is hardcoded RFC3339 in the test & timeSince()
uses the current server time.Charith (Cerbos)
08/15/2022, 9:55 AMRob Crowe
08/15/2022, 10:29 AMCharith (Cerbos)
08/15/2022, 10:51 AMRob Crowe
08/15/2022, 2:50 PMCharith (Cerbos)
08/16/2022, 9:53 AMAlex Olivier (Cerbos)
08/22/2022, 2:34 PMRob Crowe
08/22/2022, 4:20 PM