Skip to content

Conversation

@tvernum
Copy link
Contributor

@tvernum tvernum commented Aug 17, 2018

When the application privileges feature was backported to 6.x/6.4 the
BWC version checks on the backport were updated to 6.4.0, but master
was not updated.

This commit updates all relevant version checks, and adds tests.

When the application privileges feature was backported to 6.x/6.4 the
BWC version checks on the backport were updated to 6.4.0, but master
was not updated.

This commit updates all relevant version checks, and adds tests.
@tvernum tvernum added >bug review v7.0.0 :Security/Security Security issues without another label labels Aug 17, 2018
@tvernum tvernum requested a review from jaymode August 17, 2018 02:33
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

final HasPrivilegesResponse copy = serializeAndDeserialize(original, version);

assertThat(copy.isCompleteMatch(), equalTo(original.isCompleteMatch()));
// assertThat(copy.getClusterPrivileges(), equalTo(original.getClusterPrivileges()));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There is a separate bug that this field is never serialized.
I'll raise another PR for that.

Copy link
Member

@jaymode jaymode left a comment

Choose a reason for hiding this comment

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

LGTM

@tvernum tvernum merged commit b595b1a into elastic:master Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Security/Security Security issues without another label v7.0.0-beta1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants