OpenSearch/elasticsearch
jaymode 2550548a44 shield: handle merging granted and non-granted indices acls
This commit changes the handling in the merge method of the IndexAccessControl class to
properly handle merging IndexAccessControl objects with differing values for the granted
flag. Prior to this commit, in a scenario where the flag differed, one IndexAccessControl granted
no access to an index, and the other granted access with DLS/FLS resulted in full access
being granted to the index.

Closes elastic/elasticsearch#1821

Original commit: elastic/x-pack-elasticsearch@e403e43689
2016-03-28 12:27:50 -04:00
..
license Fix forbidden apis usages, and convert more tests to CommandTestCase 2016-03-09 00:18:23 -08:00
qa security: rename ESUsersRealm to FileRealm 2016-03-28 06:18:57 -04:00
x-dev-tools Shield refactoring for 5.0 - phase 3 2016-02-09 16:06:49 +01:00
x-pack shield: handle merging granted and non-granted indices acls 2016-03-28 12:27:50 -04:00
build.gradle Change path separator for Checkstyle suppressions to be Windows compatible 2016-02-05 12:15:47 +01:00
checkstyle_suppressions.xml Remove suppression and implement hashCode 2016-02-09 21:49:13 -05:00