Merge "[doc] Admin only modifiable metadata"

This commit is contained in:
Zuul 2024-03-26 20:21:33 +00:00 committed by Gerrit Code Review
commit c7dcf18319
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.