]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: fix for 'Cluster >> Hosts' page 3.2-0
authoralfonsomthd <almartin@redhat.com>
Thu, 8 Nov 2018 11:34:14 +0000 (12:34 +0100)
committeralfonsomthd <almartin@redhat.com>
Thu, 8 Nov 2018 11:34:14 +0000 (12:34 +0100)
commita5a2da7dad44e40b6680102a669bb9ec9887e2b4
treebb079229cbba8f6fff41dde69722ebbee76a8738
parentdea7e4c6888ecd5e6d09c60ea0fbe060dcecfaff
mgr/dashboard: fix for 'Cluster >> Hosts' page
- Added permission mapping for 'tcmu-runner' service type.
- Avoid error caused by unmapped services' types:
  The hosts list should be visible even with not mapped services' types,
  as this mapping only decides whether the service being displayed has a link or not.

Fixes: https://tracker.ceph.com/issues/36712
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.ts