mgr/dashboard: read-only modals
Currently, the read-only user can click on some modals (like Cluster -> OSD -> Cluster-wide flags, Recovery or PG Scrub settings).
While the values in those modals can't be saved (no "Apply/Save/Edit" button is displayed, only "Cancel"), it's a bit misleading to allow read-only users modify those values, while those changes can't be saved.
Hence, the read-only user should be shown with 'read-only' modals, where all form inputs are read-only.
#1 Updated by Tatjana Dehler 25 days ago
I'm wondering if this can be implemented as part of the 'ModalComponent' (https://github.com/ceph/ceph/blob/master/src/pybind/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.ts) so that we don't have to set it for every modal dialog explicitly.