From 153d734090c7610417064c850d4c2f64d866d796 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 2 Nov 2023 17:08:14 -0500 Subject: [PATCH] fix: Fix permission evaluator API contract to match v4 (#90) * fix: Or mode no permissions set failure * Changelog * Set versions a bit higher than 14 * fix: Deal with a golang compiler quirk * fix: Match the API contract for the permission evaluator --- permissions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/permissions.go b/permissions.go index 1fe8634..f3243fa 100644 --- a/permissions.go +++ b/permissions.go @@ -133,7 +133,7 @@ type ReadPermissable interface { } type PermissionsEvaluator interface { - HasReadPermission(user string, rp ReadPermissable) (bool, error) + HasReadPermission(user string, traceparent string, rp ReadPermissable) (bool, error) } type FiatClient interface {