From cc4d1514875610f3eba6942335e3e4bd0b690ba8 Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Mon, 12 May 2025 15:59:30 +0200 Subject: [PATCH] Alerting: Set folder permissions to "view" for nested folder selectors (#105258) set folder permissions to "view" alerts are allowed to be created in folders where the user only has the "read" permission, "write" permissions is not required and is only used to allow creating new folders. --- .../unified/components/import-to-gma/ImportFromDSRules.tsx | 1 + .../alerting/unified/components/rule-editor/FolderSelector.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/public/app/features/alerting/unified/components/import-to-gma/ImportFromDSRules.tsx b/public/app/features/alerting/unified/components/import-to-gma/ImportFromDSRules.tsx index e795327e6cb..06f52706ae0 100644 --- a/public/app/features/alerting/unified/components/import-to-gma/ImportFromDSRules.tsx +++ b/public/app/features/alerting/unified/components/import-to-gma/ImportFromDSRules.tsx @@ -151,6 +151,7 @@ const ImportFromDSRules = () => { render={({ field: { onChange, ref, ...field } }) => ( (