Authz: Refactor folder tree (#99554)

* Refactor folder tree to its own structure

* Make it possible to json encode the tree

* Use iterations for Ancestors and Children

---------

Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com>
This commit is contained in:
Karl Persson
2025-02-11 12:36:11 +01:00
committed by GitHub
co-authored by IevaVasiljeva
parent a1dacc24b9
commit bfa4fa3c68
5 changed files with 299 additions and 183 deletions
-6
View File
@@ -23,9 +23,3 @@ type ListRequest struct {
Verb string
Action string
}
type FolderNode struct {
UID string
ParentUID *string
ChildrenUIDs []string
}