mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-28 07:59:10 +00:00
The `create` privilege can be misleading based on a user's interpretation of the meaning of the privilege. The create privilege grants the user access to the index api and the put mapping api. The index api allows for a document to be created but it also allows for an existing document to be overwritten (assuming the CREATE operation type is not used). However, the name `create` implies the ability to only create a document and not be able to modify an existing document, which may not be clear to users unfamiliar with the index API. This commit adds a small note under the privilege in the documentation that should add some clarity to the operations allowed by this privilege. Original commit: elastic/x-pack-elasticsearch@24596c41b0