Dashboards: Prevent saving to a non-existent folder (#103503)

This commit is contained in:
Stephanie Hingtgen
2025-04-07 09:02:20 +03:00
committed by GitHub
parent ed9b649ed6
commit 8cd6f837a5
4 changed files with 14 additions and 3 deletions
@@ -281,7 +281,7 @@ func TestIntegrationUnauthenticatedUserCanGetPubdashPanelQueryData(t *testing.T)
// Create Dashboard
saveDashboardCmd := dashboards.SaveDashboardCommand{
OrgID: 1,
FolderUID: "1",
FolderUID: "",
IsFolder: false,
Dashboard: simplejson.NewFromAny(map[string]any{
"id": nil,