From 25d50d107713a9e6018993128190b4cf81ed0031 Mon Sep 17 00:00:00 2001 From: Todd Date: Fri, 12 May 2023 08:02:18 -0700 Subject: [PATCH] Add tests for recording collection actions on scopes --- .../controller/handlers/scopes/scope_service_test.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/internal/daemon/controller/handlers/scopes/scope_service_test.go b/internal/daemon/controller/handlers/scopes/scope_service_test.go index bb22f8777e..aa0dd29744 100644 --- a/internal/daemon/controller/handlers/scopes/scope_service_test.go +++ b/internal/daemon/controller/handlers/scopes/scope_service_test.go @@ -105,6 +105,11 @@ var globalAuthorizedCollectionActions = map[string]*structpb.ListValue{ structpb.NewStringValue("destroy-key-version"), }, }, + "session-recordings": { + Values: []*structpb.Value{ + structpb.NewStringValue("list"), + }, + }, "storage-buckets": { Values: []*structpb.Value{ structpb.NewStringValue("create"), @@ -162,6 +167,11 @@ var orgAuthorizedCollectionActions = map[string]*structpb.ListValue{ structpb.NewStringValue("destroy-key-version"), }, }, + "session-recordings": { + Values: []*structpb.Value{ + structpb.NewStringValue("list"), + }, + }, "storage-buckets": { Values: []*structpb.Value{ structpb.NewStringValue("create"),