From 03a0539d929cefc14f029a9c86063d084459e6a9 Mon Sep 17 00:00:00 2001 From: navodzoysa Date: Mon, 2 Oct 2023 00:48:36 +0530 Subject: [PATCH] Fix incorrect grafana permission annotations --- .../mgt/grafana/proxy/api/GrafanaAPIProxyService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/analytics-mgt/grafana-mgt/io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.api/src/main/java/io/entgra/device/mgt/core/analytics/mgt/grafana/proxy/api/GrafanaAPIProxyService.java b/components/analytics-mgt/grafana-mgt/io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.api/src/main/java/io/entgra/device/mgt/core/analytics/mgt/grafana/proxy/api/GrafanaAPIProxyService.java index d87eef1034..18fb6201af 100644 --- a/components/analytics-mgt/grafana-mgt/io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.api/src/main/java/io/entgra/device/mgt/core/analytics/mgt/grafana/proxy/api/GrafanaAPIProxyService.java +++ b/components/analytics-mgt/grafana-mgt/io.entgra.device.mgt.core.analytics.mgt.grafana.proxy.api/src/main/java/io/entgra/device/mgt/core/analytics/mgt/grafana/proxy/api/GrafanaAPIProxyService.java @@ -59,8 +59,8 @@ import javax.ws.rs.core.UriInfo; name = "Using Grafana APIs required for Grafana iframes", description = "Grafana API proxy to validate requests.", key = "grafana:api:view", - roles = {"Internal/grafanamgt-user"}, - permissions = {"/analytics-mgt/grafana-mgt/api/view"} + roles = {"Internal/devicemgt-user"}, + permissions = {"/device-mgt/grafana/view"} ) } )