Skip to content

[DOCS] Add docs for create_doc index privilege#47584

Merged
bizybot merged 1 commit intoelastic:masterfrom
lcawl:create-doc-index-privilege-docs
Oct 9, 2019
Merged

[DOCS] Add docs for create_doc index privilege#47584
bizybot merged 1 commit intoelastic:masterfrom
lcawl:create-doc-index-privilege-docs

Conversation

@lcawl
Copy link
Copy Markdown
Contributor

@lcawl lcawl commented Oct 4, 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

Replaces: elastic/stack-docs#540

@lcawl lcawl added >docs General docs changes :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC v8.0.0 v7.5.0 labels Oct 4, 2019
@lcawl lcawl requested a review from bizybot October 4, 2019 15:15
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-docs (>docs)

@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-security (:Security/Authorization)

@bizybot bizybot requested a review from jkakavas October 7, 2019 07:25
@bizybot bizybot marked this pull request as ready for review October 7, 2019 07:25
Copy link
Copy Markdown
Contributor

@jkakavas jkakavas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bizybot bizybot merged commit 48d59cc into elastic:master Oct 9, 2019
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
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`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bizybot This is no longer true?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
The documentation was added in #47584 but those docs did not reflect the up-to-date behavior of the feature.

Backport of: #47784
tvernum added a commit that referenced this pull request Nov 29, 2019
The documentation was added in #47584 but those docs did not reflect the up-to-date behavior of the feature.

Backport of: #47784
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport pending >docs General docs changes :Security/Authorization Roles, Privileges, DLS/FLS, RBAC/ABAC v7.5.0 v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants