Skip to content

Commit

Permalink
user-svc permissions (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
FoseFx committed Dec 16, 2024
1 parent ee0d3fb commit 04e0965
Show file tree
Hide file tree
Showing 56 changed files with 1,667 additions and 2,520 deletions.
1 change: 1 addition & 0 deletions Dockerfile.standalone
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ WORKDIR /build/spice

COPY go.* ./
COPY libs libs
COPY spicedb/migrations spicedb/migrations
RUN go mod download
COPY cmd/spice cmd/spice
RUN CGO_ENABLED=0 GOOS=linux go build -a -o spice cmd/spice/spice.go
Expand Down
3 changes: 2 additions & 1 deletion cmd/spice/spice.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ package main
import (
"context"
"fmt"
hooks "hooks"
"hwauthz/spicedb/migrate"
"os"
"os/exec"
Expand Down Expand Up @@ -86,7 +87,7 @@ func getClient() *authzed.Client {

// migrateCmd is the <migrate> command handler
func migrateCmd() {
migrate.Migrate(context.Background(), CLI.Directory, getClient())
migrate.Migrate(context.Background(), CLI.Directory, getClient(), hooks.Hooks)
}

// schemaCmd is the <schema> command handler
Expand Down
96 changes: 0 additions & 96 deletions gen/dart/lib/services/user_svc/v1/organization_svc.pb.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 0 additions & 20 deletions gen/dart/lib/services/user_svc/v1/organization_svc.pbgrpc.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 0 additions & 23 deletions gen/dart/lib/services/user_svc/v1/organization_svc.pbjson.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

142 changes: 0 additions & 142 deletions gen/dart/lib/services/user_svc/v1/user_svc.pb.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 04e0965

Please sign in to comment.