Skip to content

Commit

Permalink
fix: Fix permission evaluator API contract to match v4 (#90)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
jasonmcintosh authored Nov 2, 2023
1 parent e0e7999 commit 153d734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion permissions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 153d734

Please sign in to comment.