From 5f6abae81bbc34be3b81aed4f92ac5a730a50325 Mon Sep 17 00:00:00 2001 From: Victor Cinaglia Date: Tue, 12 Aug 2025 11:26:50 -0300 Subject: [PATCH] Auth: Add subtitle for cloud access policy page (#109498) chore(iam): add subtitle for cloud access policy page --- pkg/services/navtree/navtreeimpl/applinks.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkg/services/navtree/navtreeimpl/applinks.go b/pkg/services/navtree/navtreeimpl/applinks.go index b4571c88a69..8226304388a 100644 --- a/pkg/services/navtree/navtreeimpl/applinks.go +++ b/pkg/services/navtree/navtreeimpl/applinks.go @@ -104,6 +104,10 @@ func (s *ServiceImpl) processAppPlugin(plugin pluginstore.Plugin, c *contextmode link.Id = "standalone-plugin-page-" + include.Path link.SortWeight = pathConfig.SortWeight + if len(pathConfig.SubTitle) > 0 { + link.SubTitle = pathConfig.SubTitle + } + // Check if the section already has a page with the same URL, and in that case override it // (This only happens if it is explicitly set by `navigation.app_standalone_pages` in the INI config) isOverridingCorePage := false @@ -348,7 +352,11 @@ func (s *ServiceImpl) readNavigationSettings() { } s.navigationAppPathConfig = map[string]NavigationAppConfig{ - "/a/grafana-auth-app": {SectionID: navtree.NavIDCfgAccess, SortWeight: 2}, + "/a/grafana-auth-app": { + SectionID: navtree.NavIDCfgAccess, + SortWeight: 2, + SubTitle: "Use policies to control automated access to metrics, logs, traces, and other Grafana Cloud services", + }, } appSections := s.cfg.Raw.Section("navigation.app_sections")