You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexComponentSelectorPredicate.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,10 @@ public record IndexComponentSelectorPredicate(Set<String> names, Predicate<Index
Copy file name to clipboardExpand all lines: x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/privilege/IndexPrivilege.java
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,11 @@ public final class IndexPrivilege extends Privilege {
Copy file name to clipboardExpand all lines: x-pack/plugin/security/qa/security-trial/src/javaRestTest/java/org/elasticsearch/xpack/security/failurestore/FailureStoreSecurityRestIT.java
+24-19Lines changed: 24 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -124,14 +124,10 @@ public void testGetUserPrivileges() throws IOException {
124
124
"global": [],
125
125
"indices": [{
126
126
"names": ["*"],
127
-
"privileges": ["read"],
127
+
"privileges": ["read", "read_failure_store"],
128
128
"allow_restricted_indices": false
129
-
},
130
-
{
131
-
"names": ["*"],
132
-
"privileges": ["read_failure_store"],
133
-
"allow_restricted_indices": false
134
-
}],
129
+
}
130
+
],
135
131
"applications": [],
136
132
"run_as": []
137
133
}""");
@@ -208,14 +204,10 @@ public void testGetUserPrivileges() throws IOException {
0 commit comments