d74de5acc8
Previously, when the RequestContext could not be located a FieldSubsetReader was returned that only allowed meta fields to be read. This was done for safety in case there was an API missed so we did not leak data. However, this causes issues because some requests in elasticsearch execute on a different thread than the one with the RequestContext so we effectively lose this context and prevent access to the fields in the document. This is especially problematic with update requests, because that means that fields that aren't included in the updated document will be lost. This commit removes the wrapping of the readers in this case and adds tests for bulk updates. Closes elastic/elasticsearch#938 Original commit: elastic/x-pack-elasticsearch@74c8059da0 |
||
---|---|---|
.. | ||
bin/shield | ||
config/shield | ||
dev-tools | ||
docs | ||
src | ||
LICENSE.txt | ||
NOTICE.txt | ||
README.asciidoc | ||
TESTING.asciidoc | ||
build.gradle | ||
test-signatures.txt |
README.asciidoc
= Elasticsearch Security Plugin This plugins adds security features to elasticsearch You can build the plugin with `mvn package`. The documentation is put in the `docs/` directory.