summaryrefslogtreecommitdiff
path: root/pkg/authz/spice.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-23 12:21:24 -0600
committermo khan <mo@mokhan.ca>2025-07-23 12:21:24 -0600
commit9674cfaedfdb8d583cfe75e1c1738a1c1d66c7f9 (patch)
tree4ecede06bdc4e3e689ff4e3f952db603038f7790 /pkg/authz/spice.go
parent944ef4ca499fe27a57d4cd3c21bccb99508526ca (diff)
refactor: inject permission service into sparkle controller
Diffstat (limited to 'pkg/authz/spice.go')
-rw-r--r--pkg/authz/spice.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/authz/spice.go b/pkg/authz/spice.go
index a45a732..47468d9 100644
--- a/pkg/authz/spice.go
+++ b/pkg/authz/spice.go
@@ -21,6 +21,6 @@ func NewSpiceDBClient(ctx context.Context, host string, presharedKey string) *au
return client
}
-type CheckPermission interface {
+type PermissionService interface {
CheckPermission(ctx context.Context, in *v1.CheckPermissionRequest, opts ...grpc.CallOption) (*v1.CheckPermissionResponse, error)
}