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)
Rob Crowe
08/15/2022, 10:29 AMCharith (Cerbos)
Rob Crowe
08/15/2022, 2:50 PMRob Crowe
08/16/2022, 9:47 AMRob Crowe
08/16/2022, 9:48 AMCharith (Cerbos)
Alex Olivier (Cerbos)
Rob Crowe
08/22/2022, 4:20 PMRob Crowe
08/22/2022, 4:21 PM