Skip to content

Allow noop PutUser updates#35843

Merged
tvernum merged 1 commit intoelastic:masterfrom
tvernum:put-user-noop
Nov 27, 2018
Merged

Allow noop PutUser updates#35843
tvernum merged 1 commit intoelastic:masterfrom
tvernum:put-user-noop

Conversation

@tvernum
Copy link
Copy Markdown
Contributor

@tvernum tvernum commented Nov 23, 2018

When assertions are enabled, a Put User action that has no effect (a
noop update) would trigger an assertion failure and shutdown the node.

This change accepts "noop" as an update result, and adds more
diagnostics to the assertion failure message.

When assertions are enabled, a Put User action that have no effect (a
noop update) would trigger an assertion failure and shutdown the node.

This change accepts "noop" as an update result, and adds more
diagnostics to the assertion failure message.
@tvernum tvernum added >non-issue v7.0.0 :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) v6.6.0 labels Nov 23, 2018
@tvernum tvernum requested a review from jkakavas November 23, 2018 04:29
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-security

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

", fullName='" + fullName + '\'' +
", email='" + email + '\'' +
", metadata=" + metadata +
", passwordHash=" + (passwordHash == null ? "<null>" : "<not-null>") +
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.

👍

@tvernum tvernum merged commit a18b219 into elastic:master Nov 27, 2018
tvernum added a commit that referenced this pull request Nov 29, 2018
When assertions are enabled, a Put User action that have no effect (a
noop update) would trigger an assertion failure and shutdown the node.

This change accepts "noop" as an update result, and adds more
diagnostics to the assertion failure message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) v6.6.0 v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants