mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 20:08:56 +00:00
The `create_doc`, `create`, `write` and `index` privileges do not grant the PutMapping action anymore. Apart from the `write` privilege, the other three privileges also do NOT grant (auto) updating the mapping when ingesting a document with unmapped fields, according to the templates. In order to maintain the BWC in the 7.x releases, the above privileges will still grant the Put and AutoPutMapping actions, but only when the "index" entity is an alias or a concrete index, but not a data stream or a backing index of a data stream.
19 lines
651 B
YAML
19 lines
651 B
YAML
minimal:
|
|
cluster:
|
|
# This is always required because the REST client uses it to find the version of
|
|
# Elasticsearch it's talking to
|
|
- cluster:monitor/main
|
|
indices:
|
|
# Give all users involved in these tests access to the indices where the data to
|
|
# be analyzed is stored, because the ML roles alone do not provide access to
|
|
# non-ML indices
|
|
- names: [ 'airline-data', 'index-*', 'unavailable-data', 'utopia', 'store' ]
|
|
privileges:
|
|
- create_index
|
|
- indices:admin/refresh
|
|
- read
|
|
- write
|
|
- view_index_metadata
|
|
- indices:data/write/bulk
|
|
- indices:data/write/index
|