Whamcloud - gitweb
LUDOC-515 sec: doc update for 'rbac' nodemap property 38/51838/3
authorSebastien Buisson <sbuisson@ddn.com>
Tue, 1 Aug 2023 13:02:34 +0000 (15:02 +0200)
committerAndreas Dilger <adilger@whamcloud.com>
Thu, 2 Nov 2023 02:55:50 +0000 (02:55 +0000)
This patch updates the "Managing the Properties" section of the Lustre
Operations Manual to introduce the 'rbac' nodemap property as
implemented by LU-16524.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I27beea5b36748e13b11ca3872b77af650ce3704a
Reviewed-on: https://review.whamcloud.com/c/doc/manual/+/51838
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
LustreNodemap.xml

index 5113b39..2d270b5 100644 (file)
@@ -350,6 +350,45 @@ drwxr-xr-x 3 root root     4096 Jul 23 09:02 ..
           <literal>forbid_encryption</literal> prevents clients from using
           encryption.</para>
         </listitem>
+
+        <listitem>
+          <para condition='l2G'>The property <literal>rbac</literal> defines
+          different Role-Based Admin Control mechanisms:
+          <itemizedlist>
+            <listitem>
+              <para><literal>byfid_ops</literal>, to allow operations by FID
+              (e.g. 'lfs rmfid').</para>
+            </listitem>
+            <listitem>
+              <para><literal>chlg_ops</literal>, to allow access to Lustre
+              Changelogs.</para>
+            </listitem>
+            <listitem>
+              <para><literal>dne_ops</literal>, to allow operations related to
+              DNE (e.g. 'lfs mkdir').</para>
+            </listitem>
+            <listitem>
+              <para><literal>file_perms</literal>, to allow modifications of
+              file permissions and owners.</para>
+            </listitem>
+            <listitem>
+              <para><literal>fscrypt_admin</literal>, to allow fscrypt related
+              admin tasks (create or modify protectors/policies). Note that even
+              without this role, it is still possible to lock or unlock
+              encrypted directories, as these operations only need read access
+              to fscrypt metadata.</para>
+            </listitem>
+            <listitem>
+              <para><literal>quota_ops</literal>, to allow quota modifications.
+              </para>
+            </listitem>
+          </itemizedlist>
+          The default value for this property is <literal>all</literal>,
+          which means all roles are allowed. Multiple values among those listed
+          above can be specified, comma separated. Apart from all, any role not
+          explicitly specified is forbidden. And to forbid all roles, use
+          <literal>none</literal> value.</para>
+        </listitem>
       </itemizedlist>
 
       <para>Alter values to either true (1) or false (0) on the MGS:</para>