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:
co-authored by
IevaVasiljeva
parent
a1dacc24b9
commit
bfa4fa3c68
@@ -23,9 +23,3 @@ type ListRequest struct {
|
||||
Verb string
|
||||
Action string
|
||||
}
|
||||
|
||||
type FolderNode struct {
|
||||
UID string
|
||||
ParentUID *string
|
||||
ChildrenUIDs []string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user