diff --git a/web/locales/en/plugin__netobserv-plugin.json b/web/locales/en/plugin__netobserv-plugin.json index c58e1a0e4..0a3219e47 100644 --- a/web/locales/en/plugin__netobserv-plugin.json +++ b/web/locales/en/plugin__netobserv-plugin.json @@ -192,7 +192,7 @@ "or LokiStack spec.tenants.openshift.adminGroups must be configured with a group this user belongs to": "or LokiStack spec.tenants.openshift.adminGroups must be configured with a group this user belongs to", "For other configurations, refer to FlowCollector spec.loki.manual.authToken": "For other configurations, refer to FlowCollector spec.loki.manual.authToken", "For metrics access, your user must either:": "For metrics access, your user must either:", - "have the 'netobserv-metrics-reader' namespace-scoped role": "have the 'netobserv-metrics-reader' namespace-scoped role", + "have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console": "have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console", "or for cluster-wide access, have the 'cluster-monitoring-view' cluster role": "or for cluster-wide access, have the 'cluster-monitoring-view' cluster role", "Configuring the Loki Operator": "Configuring the Loki Operator", "Configuring Grafana Loki (community)": "Configuring Grafana Loki (community)", diff --git a/web/src/components/messages/error.tsx b/web/src/components/messages/error.tsx index 5b82ed2d9..6107d94e3 100644 --- a/web/src/components/messages/error.tsx +++ b/web/src/components/messages/error.tsx @@ -269,7 +269,11 @@ export const Error: React.FC = ({ title, error, isLokiRelated }) => {t(`For metrics access, your user must either:`)} - {t(`have the 'netobserv-metrics-reader' namespace-scoped role`)} + + {t( + `have the 'netobserv-metrics-reader' namespace-scoped role, and use only the Developer view of the Console` + )} + {t(`or for cluster-wide access, have the 'cluster-monitoring-view' cluster role`)}