grafana/pkg/services/dashboards
Sofia Papagiannaki 89d3b55bec
Folders: Reduce DB queries when counting and deleting resources under folders (#81153)
* Add folder store method for fetching all folder descendants

* Modify GetDescendantCounts() to fetch folder descendants at once

* Reduce DB calls when counting library panels under dashboard

* Reduce DB calls when counting dashboards under folder

* Reduce DB calls during folder delete

* Modify folder registry to count/delete entities under multiple folders

* Reduce DB calls when counting

* Reduce DB calls when deleting
2024-01-30 18:26:34 +02:00
..
dashboardaccess Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
database Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
service Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
accesscontrol_test.go Remove folderID from service tests (#80615) 2024-01-26 17:36:35 +02:00
accesscontrol.go RBAC: Return the underlying error instead of internal server or bad request for managed permission endpoints (#80974) 2024-01-25 16:24:52 +00:00
dashboard_provisioning_mock.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
dashboard_service_mock.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
dashboard.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
errors.go Nested folders: Allow creating folders with duplicate names in different locations (#77076) 2024-01-25 11:29:56 +02:00
models_test.go Remove folderid service test (#80433) 2024-01-12 16:43:39 +01:00
models.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
store_mock.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00