From 1244f5c53d2321031621b126026dc6adc7450558 Mon Sep 17 00:00:00 2001 From: Gabriel MABILLE Date: Mon, 7 Jul 2025 20:08:44 +0200 Subject: [PATCH] AuthZ: Add `CoreRoleStorageBackend` to the extension set (#103912) * Wiring * Trigger CI --------- Co-authored-by: mohammad-hamid --- pkg/registry/apis/wireset.go | 1 - pkg/server/wireexts_oss.go | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/registry/apis/wireset.go b/pkg/registry/apis/wireset.go index ed7d0aa1c5e..61221680dde 100644 --- a/pkg/registry/apis/wireset.go +++ b/pkg/registry/apis/wireset.go @@ -55,7 +55,6 @@ var WireSet = wire.NewSet( featuretoggle.RegisterAPIService, datasource.RegisterAPIService, folders.RegisterAPIService, - WireSetExts, // this will be moved to wireexts_oss.go in a following PR iam.RegisterAPIService, ProvisioningExtras, provisioning.RegisterAPIService, diff --git a/pkg/server/wireexts_oss.go b/pkg/server/wireexts_oss.go index 4c2e5f8b14d..0f0dd034983 100644 --- a/pkg/server/wireexts_oss.go +++ b/pkg/server/wireexts_oss.go @@ -11,6 +11,7 @@ import ( "github.com/grafana/grafana/pkg/plugins" "github.com/grafana/grafana/pkg/plugins/manager" "github.com/grafana/grafana/pkg/registry" + apisregistry "github.com/grafana/grafana/pkg/registry/apis" "github.com/grafana/grafana/pkg/registry/apis/secret/contracts" "github.com/grafana/grafana/pkg/registry/apis/secret/secretkeeper" "github.com/grafana/grafana/pkg/registry/backgroundsvcs" @@ -127,6 +128,7 @@ var wireExtsBasicSet = wire.NewSet( unified.ProvideUnifiedStorageClient, builder.ProvideDefaultBuildHandlerChainFuncFromBuilders, aggregatorrunner.ProvideNoopAggregatorConfigurator, + apisregistry.WireSetExts, ) var wireExtsSet = wire.NewSet(