[DOCS] Add docs for create_doc index privilege#47584
Merged
bizybot merged 1 commit intoelastic:masterfrom Oct 9, 2019
Merged
Conversation
Collaborator
|
Pinging @elastic/es-docs (>docs) |
Collaborator
|
Pinging @elastic/es-security (:Security/Authorization) |
bizybot
pushed a commit
to bizybot/elasticsearch
that referenced
this pull request
Oct 9, 2019
This commit adds documentation for new index privilege create_doc which only allows indexing of new documents but no updates to existing documents via Index or Bulk APIs. Relates: elastic#45806
ywelsch
reviewed
Oct 9, 2019
| NOTE: When indexing documents with an external `_id` either via the index API or | ||
| the bulk API, the request must use `op_type` as `create`. If `_id`s are | ||
| generated automatically, the authorization happens as if the `op_type` is set to | ||
| `create`. |
Contributor
There was a problem hiding this comment.
I had prepared the docs before, will correct it. Thank you for noticing this.
bizybot
added a commit
that referenced
this pull request
Oct 9, 2019
This commit adds documentation for new index privilege create_doc which only allows indexing of new documents but no updates to existing documents via Index or Bulk APIs. Relates: #45806
tvernum
pushed a commit
that referenced
this pull request
Nov 19, 2019
The documentation was added in #47584 but those docs did not reflect the up-to-date behavior of the feature.
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this pull request
Nov 20, 2019
The documentation was added in elastic#47584 but those docs did not reflect the up-to-date behavior of the feature. Backport of: elastic#47784
tvernum
added a commit
to tvernum/elasticsearch
that referenced
this pull request
Nov 20, 2019
The documentation was added in elastic#47584 but those docs did not reflect the up-to-date behavior of the feature. Backport of: elastic#47784
tvernum
added a commit
that referenced
this pull request
Nov 29, 2019
tvernum
added a commit
that referenced
this pull request
Nov 29, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds documentation for new index privilege
create_doc which only allows indexing of new documents
but no updates to existing documents via Index or Bulk APIs.
Relates: #45806
Replaces: elastic/stack-docs#540