]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: consider 'mon_allow_pool_delete' flag 28260/head
authorTatjana Dehler <tdehler@suse.com>
Tue, 28 May 2019 06:51:06 +0000 (08:51 +0200)
committerTatjana Dehler <tdehler@suse.com>
Wed, 29 May 2019 10:40:15 +0000 (12:40 +0200)
commitb5eb71dbd2f853b86a901f413b685ca235b8bc1b
tree4d99d0e2ee2a8fcc329fb8a196a6c1738e9356d4
parent4a28b52990b6b4fa7e0f9505e4a37a2853ba620c
mgr/dashboard: consider 'mon_allow_pool_delete' flag

Check if the 'mon_allow_pool_delete' flag is set. If not,
disable the menu item to delete a pool. Show also a description
why the item is disabled.

Fixes: https://tracker.ceph.com/issues/39533
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
qa/tasks/mgr/dashboard/test_cluster_configuration.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts