Fixed permission handling with room deletion (#233)

This commit is contained in:
David Zhao
2021-12-03 14:27:13 -08:00
committed by GitHub
parent edafb0a118
commit c00d799ac6
6 changed files with 557 additions and 4 deletions
+2
View File
@@ -10,6 +10,7 @@ import (
"github.com/go-redis/redis/v8"
"github.com/google/wire"
livekit "github.com/livekit/protocol/proto"
"github.com/pkg/errors"
"github.com/livekit/protocol/auth"
@@ -32,6 +33,7 @@ func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*Live
createWebhookNotifier,
routing.CreateRouter,
wire.Bind(new(routing.MessageRouter), new(routing.Router)),
wire.Bind(new(livekit.RoomService), new(*RoomService)),
telemetry.NewAnalyticsService,
telemetry.NewTelemetryService,
NewRecordingService,