Skip to content

Commit

Permalink
Trigger spacegrant code path when creating spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Apr 27, 2023
1 parent c8c61e6 commit 12f0d93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/storage/utils/decomposedfs/spaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const (

// CreateStorageSpace creates a storage space
func (fs *Decomposedfs) CreateStorageSpace(ctx context.Context, req *provider.CreateStorageSpaceRequest) (*provider.CreateStorageSpaceResponse, error) {
ctx = context.WithValue(ctx, utils.SpaceGrant, struct{}{})

// "everything is a resource" this is the unique ID for the Space resource.
spaceID := uuid.New().String()
Expand Down

0 comments on commit 12f0d93

Please sign in to comment.