]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mgr/dashboard: support rgw roles updating
authorNizamudeen A <nia@redhat.com>
Wed, 18 Oct 2023 06:38:21 +0000 (12:08 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 19 Mar 2024 15:03:43 +0000 (20:33 +0530)
commit8b125be58c9d46fe802480b5b866fb0b566e766e
tree3fe021951e301dd79e63539e4d50ec400c190353
parent5446a20b2699e6d0b989d3507a8f596a0d1b1a43
mgr/dashboard: support rgw roles updating

Right now only the modification of max_session_duration is supported via
the roles update command. To update, we need to use `policy modify`
command which is not added in this PR. That should be done separately

Refer: https://docs.ceph.com/en/latest/radosgw/role/#update-a-role

Fixes: https://tracker.ceph.com/issues/63230
Signed-off-by: Nizamudeen A <nia@redhat.com>
(cherry picked from commit 5c28d78a45d87d2be6b9ea2961be42689673e252)
14 files changed:
src/pybind/mgr/dashboard/controllers/_crud.py
src/pybind/mgr/dashboard/controllers/ceph_users.py
src/pybind/mgr/dashboard/controllers/rgw.py
src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/roles.e2e-spec.ts
src/pybind/mgr/dashboard/frontend/cypress/e2e/rgw/roles.po.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts
src/pybind/mgr/dashboard/frontend/src/app/core/context/context.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/crud-table/crud-table.component.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/forms/crud-form/helpers.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/forms/crud-form/validators/rgw-role-validator.ts
src/pybind/mgr/dashboard/frontend/src/app/shared/models/crud-table-metadata.ts
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/services/rgw_client.py