Project

General

Profile

Bug #43527

mgr/dashboard: read-only modals

Added by Ernesto Puerta 6 months ago. Updated 15 days ago.

Status:
Fix Under Review
Priority:
Normal
Assignee:
Category:
dashboard/usermgmt
Target version:
% Done:

0%

Source:
Q/A
Tags:
Backport:
nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

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.


Related issues

Duplicated by mgr - Feature #39251: mgr/dashboard: Deactivate config option input fields for read-only users Duplicate

History

#1 Updated by Tatjana Dehler 5 months 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.

#2 Updated by Alfonso Martínez 3 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Nizamudeen A
  • Pull request ID set to 43527

#3 Updated by Alfonso Martínez 3 months ago

  • Pull request ID changed from 43527 to 34545

#4 Updated by Tatjana Dehler 15 days ago

  • Affected Versions v14.0.0, v14.2.0, v14.2.1 added

#5 Updated by Lenz Grimmer 14 days ago

  • Duplicated by Feature #39251: mgr/dashboard: Deactivate config option input fields for read-only users added

Also available in: Atom PDF