]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: fix roles page for roles without policies 55771/head
authorNizamudeen A <nia@redhat.com>
Tue, 27 Feb 2024 07:18:56 +0000 (12:48 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 28 Feb 2024 05:53:43 +0000 (11:23 +0530)
commit5f3f31921c9f3ed909a94f287bfd4cc3f0987649
tree5beb160f1286aef2011c6ab1d5954b8bec79b05a
parentb11e6e21f7271bc622c662de6f6c148d6da5c6fb
mgr/dashboard: fix roles page for roles without policies

If there is no permission policies attached to a role, it fails the
UI with an exception.

Fixes: https://tracker.ceph.com/issues/64588
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/crud-table/crud-table.component.ts
src/pybind/mgr/dashboard/services/rgw_client.py