From e6c1cb35180c465af8251529adc35e8895d34a90 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Tue, 3 Sep 2019 15:34:21 +0000 Subject: [PATCH] mgr/dashboard: Set RO as the default access_type for RGW NFS exports It will also show an warning if the user selects RW access_type. Fixes: https://tracker.ceph.com/issues/40186 Signed-off-by: Tiago Melo (cherry picked from commit b40b510a7730d62a717c2d8609bb5eacd5cc3272) Conflicts: src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts --- .../ceph/nfs/nfs-form/nfs-form.component.html | 10 ++++++- .../nfs/nfs-form/nfs-form.component.spec.ts | 10 ++++++- .../ceph/nfs/nfs-form/nfs-form.component.ts | 30 ++++++++++++++++++- 3 files changed, 47 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html index d1300cb3d4174..dea05634ebcf0 100644 --- a/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html +++ b/src/pybind/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html @@ -412,7 +412,8 @@