diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-23 12:21:24 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-23 12:21:24 -0600 |
| commit | 9674cfaedfdb8d583cfe75e1c1738a1c1d66c7f9 (patch) | |
| tree | 4ecede06bdc4e3e689ff4e3f952db603038f7790 /pkg/authz | |
| parent | 944ef4ca499fe27a57d4cd3c21bccb99508526ca (diff) | |
refactor: inject permission service into sparkle controller
Diffstat (limited to 'pkg/authz')
| -rw-r--r-- | pkg/authz/spice.go | 2 |
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) } |
