grafana/pkg/services/folder
Alexander Zobnin 3094531b63
Folders: Optimize shared folders listing (#81245)
* Folders: Expose function for getting all org folders with specific UIDs

* lint

* Fix test

* fixup

* Apply suggestion from code review

* Remove changes in alerting scheduler

* fixup

* fixup after merge with main

* Add batching

* Use strings.Builder

* Return all org folders if UIDs is empty

* Filter out not accessible folders by the user

* Remove comment

* Fix batching when count is zero

* Do not include dashboard permissions

* Add some tests

* fix test

* Use batch request for folders

* Use batch request to deduplicate folders

* Refactor

* Fix after merging main

* Refactor

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2024-01-25 13:02:32 +01:00
..
folderimpl Folders: Optimize shared folders listing (#81245) 2024-01-25 13:02:32 +01:00
foldertest Nested folders: Allow creating folders with duplicate names in different locations (#77076) 2024-01-25 11:29:56 +02:00
model.go Add MFolderIDsServiceCount to count folderIDs in services pkg (#81237) 2024-01-25 11:10:35 +01:00
registry.go Identity: Port folder library to identity.Requester (#76105) 2023-10-06 15:02:34 +02:00
service.go Nested folders: Allow creating folders with duplicate names in different locations (#77076) 2024-01-25 11:29:56 +02:00