]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: do not show API keys if user has only read-only privileges. 33665/head
authorAlfonso Martínez <almartin@redhat.com>
Mon, 9 Mar 2020 12:05:41 +0000 (13:05 +0100)
committerAlfonso Martínez <almartin@redhat.com>
Fri, 20 Mar 2020 07:43:22 +0000 (08:43 +0100)
commita154a1a0091aa6525932ff459f3f79f7a15529f7
tree18247649afff7f0435b6a5a4e96e093b93720d44
parent288557427728ded242edae155f851f446b8bbebf
mgr/dashboard: do not show API keys if user has only read-only privileges.

Fixes: https://tracker.ceph.com/issues/42475
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
(cherry picked from commit 38d419620508af75f7c164b56d07d1ecde9173b4)

Conflicts:
- src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.spec.ts
- src/pybind/mgr/dashboard/tests/test_rgw.py
Adapted (after cherry-pick) frontend & backend unit tests to nautilus code.
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.ts
src/pybind/mgr/dashboard/tests/test_rgw.py