[doc] Admin only modifiable metadata

Updates to the administrator and configuration metadata to address
the new configuration option, which allows administrators to
specify metadata items that should not be updated by less
privileged users.

Signed-off-by: silvacarloss <ces.eduardo98@gmail.com>

Partial-Bug: #2057707
Change-Id: If8d51d50630f0581d588e07c3c086442b451c360
This commit is contained in:
silvacarloss 2024-03-20 17:43:33 -03:00
parent 4dc5f6b730
commit e5e3b10656
2 changed files with 9 additions and 0 deletions

View File

@ -501,6 +501,13 @@ You can update the metadata:
You also can unset the metadata using
**manila metadata <share_name> unset <metadata_key(s)>**.
.. note::
In case you want to prevent certain metadata key-values to be manipulated by
less privileged users, you can provide a list of such keys through the admin
only metadata configuration option listed in the
:ref:`additional configuration options page <manila-common>`.
Reset share state
-----------------

View File

@ -126,3 +126,5 @@
- (List) Check the presence of a file based on a port to determine if an application is running on a port. Expects a "port:path" list of strings. Used by DisableByFilesPortsHealthcheck plugin.
* - ``path`` = ``/healthcheck``
- (String) DEPRECATED: The path to respond to healtcheck requests on.
* - ``admin_only_metadata`` = ``__affinity_same_host,__affinity_different_host``
- (List) The affinity keys are default to ensure backwards compatibility. Update the list with metadata items that should only be manipulated by people allowed by the "update_admin_only_metadata" policy.