Bug 2061273 - Dashboards from the Developer perspective under "Observe" are throwing "An error occured Forbidden" messages
Summary: Dashboards from the Developer perspective under "Observe" are throwing "An er...
Keywords:
Status: CLOSED DUPLICATE of bug 2026414
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Jaivardhan Kumar
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-07 08:44 UTC by Ashwini M. Khaire
Modified: 2022-03-31 06:46 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-31 06:45:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ashwini M. Khaire 2022-03-07 08:44:56 UTC
Description of problem:

ON OCP v4.9.x different users having either `admin`, `edit` or `view` role on their respective projects, can't see any Dashboard data when accessing `Observe ---> Dashboards` in the console Developer view. 

Instead, each graph is replaced with an error message stating "Forbidden".

Version-Release number of selected component (if applicable):

OpenShift Cluster version: 4.9.21

How reproducible:
Always.

Steps to Reproduce:
1. Login to the OCP cluster with the user having `admin`, `edit` or `view` role on respective projects.

2. Go to Developer view then Observe and access the Dashboards tab.

Actual results:
The user with `admin`, `edit` or `view` role on their respective projects should be able to access `Observe ---> Dashboards`.

Expected results:
Accessing  `Observe ---> Dashboards` throws `Forbidden` error.

Comment 1 Ashwini M. Khaire 2022-03-07 09:04:56 UTC
Hello Team,

There's a correction in the Actual & Expected results as below. 

Actual results:
Accessing  `Observe ---> Dashboards` throws `Forbidden` error.

Expected results:
The user with `admin`, `edit` or `view` role on their respective projects should be able to access `Observe ---> Dashboards` without any issues.

Comment 5 Sunil Thaha 2022-03-31 06:45:31 UTC
Closing this is a duplicate of bug https://bugzilla.redhat.com/show_bug.cgi?id=2026414, which was fixed for 4.9 by https://github.com/openshift/console/pull/10961

*** This bug has been marked as a duplicate of bug 2026414 ***


Note You need to log in before you can comment on or make changes to this bug.