{templates?.payload_example ? (
-
-
-
-
- {groups[activeGroup].map((template) => (
-
- ))}
-
-
-
+
+ {isUserActionAllowed(UserActions.IntegrationsTest) && (
-
- {JSON.stringify(templates?.payload_example, null, 4)}
+
+
+ {groups[activeGroup].map((template) => (
+
+ ))}
+
-
+ )}
+
+
+ {JSON.stringify(templates?.payload_example, null, 4)}
+
) : (
sendDemoAlertBlock
diff --git a/grafana-plugin/src/containers/IntegrationSettings/parts/Autoresolve.tsx b/grafana-plugin/src/containers/IntegrationSettings/parts/Autoresolve.tsx
index 7f17f1eb..057cb0c6 100644
--- a/grafana-plugin/src/containers/IntegrationSettings/parts/Autoresolve.tsx
+++ b/grafana-plugin/src/containers/IntegrationSettings/parts/Autoresolve.tsx
@@ -128,18 +128,20 @@ const Autoresolve = ({ alertReceiveChannelId, onSwitchToTemplate, alertGroupId }
Which team should this integration belong to?
-
+
+
+
-
+
+
+