grafana/pkg/services/folder
Sofia Papagiannaki d89a8a3a82
Nested Folders: Fix /api/folders pagination (#79447)
* Nested Folders: Fix /api/folders pagination

We used to check access to the root folders after fetching them from the DB with pagination.
This fix splits logic for fetching folders in:
- fetching subfolders
- fetching root folders
and refactors the query for the latter so that is filters by folders with permissions

* Add tests

* Update benchmarks
2023-12-15 19:34:08 +02:00
..
folderimpl Nested Folders: Fix /api/folders pagination (#79447) 2023-12-15 19:34:08 +02:00
foldertest Dashboards+Folder: remove unused function MakeUserAdmin (#73635) 2023-08-23 12:54:06 +02:00
model.go Nested Folders: Fix /api/folders pagination (#79447) 2023-12-15 19:34:08 +02:00
registry.go Identity: Port folder library to identity.Requester (#76105) 2023-10-06 15:02:34 +02:00
service.go Dashboards: Fix creating dashboard under folder using deprecated API (#77501) 2023-11-01 17:01:54 +02:00