]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Revoke read-only user's access to Manager modules 40648/head
authorNizamudeen A <nia@redhat.com>
Tue, 6 Apr 2021 15:54:51 +0000 (21:24 +0530)
committerNizamudeen A <nia@redhat.com>
Wed, 7 Apr 2021 14:43:03 +0000 (20:13 +0530)
commite4425330fcdc6caba5302fc232b09c68bb5e5e27
treee613cf8d5070a6b949e92c7a9ccac8fd7ebc52e3
parent0af03c54623fd04658877fdb3265ff54fb242c3c
mgr/dashboard: Revoke read-only user's access to Manager modules

This will disable read only user to read/open Manager Modules page in
Ceph Dashboard where some of the security related informations are
shown.

Fixes: https://tracker.ceph.com/issues/50174
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit fb607f1561371340d2c9d4e16c4eaceb365fd926)
src/pybind/mgr/dashboard/services/access_control.py
src/pybind/mgr/dashboard/tests/test_access_control.py