Dashboards: Use the common service authorizer (#111571)

* authorizer

* authorizer
This commit is contained in:
Ryan McKinley
2025-10-17 10:03:35 +03:00
committed by GitHub
parent 18e727ee7f
commit 1a372e2dec
4 changed files with 5 additions and 136 deletions
+2 -1
View File
@@ -181,7 +181,8 @@ func newFolderTranslation() translation {
func NewMapperRegistry() MapperRegistry {
mapper := mapper(map[string]map[string]translation{
"dashboard.grafana.app": {
"dashboards": newDashboardTranslation(),
"dashboards": newDashboardTranslation(),
"librarypanels": newResourceTranslation("library.panels", "uid", true, false),
},
"folder.grafana.app": {
"folders": newFolderTranslation(),