Authz: add support to use folder api to fetch folder tree (#100038)
* Add FolderStore interface * Authz: add implementation to use folders api and use it inproc with loopback config * Add tracing and add rest.Config for talking with folder api using access tokens * Restructure test to get rid of circular dependencies in tests * use correct group version kind --------- Co-authored-by: gamab <gabriel.mabille@grafana.com>
This commit is contained in:
@@ -19,21 +19,3 @@ type UserIdentifierQuery struct {
|
||||
UserID int64
|
||||
UserUID string
|
||||
}
|
||||
|
||||
type FolderQuery struct {
|
||||
OrgID int64
|
||||
}
|
||||
|
||||
type DashboardQuery struct {
|
||||
OrgID int64
|
||||
}
|
||||
|
||||
type Folder struct {
|
||||
UID string
|
||||
ParentUID *string
|
||||
}
|
||||
|
||||
type Dashboard struct {
|
||||
UID string
|
||||
ParentUID *string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user