]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix dashboard not visible on disabled anonymous access 56965/head
authorNizamudeen A <nia@redhat.com>
Wed, 17 Apr 2024 07:11:48 +0000 (12:41 +0530)
committerAdam King <adking@redhat.com>
Wed, 17 Apr 2024 17:48:40 +0000 (13:48 -0400)
commit8a0814062b44474e97488dfd7200b6f9d95f297d
tree96dc8c7c3a74225e222807959634cc2eaaf0e9c0
parent46238ac3d495b05d689af7fa6b3fc49bf0189a56
mgr/dashboard: fix dashboard not visible on disabled anonymous access

When the anonymous access is disabled, the dashboards will have a
password so the verification error code can be 401 (Unauthorized)

Fixes: https://tracker.ceph.com/issues/65534
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit f802e99c1e743675bc9b4d8c6d3399879391135f)
src/pybind/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts