RBAC: allow listing permissions on the root folder (#82184)

* allow returning AC metadata for the root folder

* add a test

* share the reserved root folder UID with frontend
This commit is contained in:
Ieva
2024-02-15 16:13:14 +00:00
committed by GitHub
parent d019335473
commit 4d53385d5f
8 changed files with 37 additions and 3 deletions
+1
View File
@@ -219,6 +219,7 @@ func (hs *HTTPServer) getFrontendSettings(c *contextmodel.ReqContext) (*dtos.Fro
PublicDashboardAccessToken: c.PublicDashboardAccessToken,
PublicDashboardsEnabled: hs.Cfg.PublicDashboardsEnabled,
SharedWithMeFolderUID: folder.SharedWithMeFolderUID,
RootFolderUID: accesscontrol.GeneralFolderUID,
BuildInfo: dtos.FrontendSettingsBuildInfoDTO{
HideVersion: hideVersion,