PublicDashboards: add recipients to the public dashboards retrieval (#63149)

This commit is contained in:
Ezequiel Victorero
2023-02-10 15:01:26 -03:00
committed by GitHub
parent 91dd5b0e0d
commit 8520a8614c
11 changed files with 134 additions and 23 deletions
+4
View File
@@ -28,6 +28,8 @@ import (
"github.com/grafana/grafana/pkg/services/login/authinfoservice"
"github.com/grafana/grafana/pkg/services/pluginsintegration"
"github.com/grafana/grafana/pkg/services/provisioning"
"github.com/grafana/grafana/pkg/services/publicdashboards"
publicdashboardsService "github.com/grafana/grafana/pkg/services/publicdashboards/service"
"github.com/grafana/grafana/pkg/services/searchusers"
"github.com/grafana/grafana/pkg/services/searchusers/filters"
"github.com/grafana/grafana/pkg/services/sqlstore/migrations"
@@ -80,6 +82,8 @@ var wireExtsBasicSet = wire.NewSet(
ossaccesscontrol.ProvideDatasourcePermissionsService,
wire.Bind(new(accesscontrol.DatasourcePermissionsService), new(*ossaccesscontrol.DatasourcePermissionsService)),
pluginsintegration.WireExtensionSet,
publicdashboardsService.ProvideServiceWrapper,
wire.Bind(new(publicdashboards.ServiceWrapper), new(*publicdashboardsService.PublicDashboardServiceWrapperImpl)),
)
var wireExtsSet = wire.NewSet(