Skip to content

Commit 4169f06

Browse files
committed
Test fix
1 parent 4ab1082 commit 4169f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/integrationTest/java/org/opensearch/security/privileges/int_tests/IndexAuthorizationReadOnlyIntTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,7 @@ public void pit_list_all() throws Exception {
19151915
if (clusterConfig.legacyPrivilegeEvaluation) {
19161916
// At the moment, it is sufficient to have any privileges for any existing index to use the _all API
19171917
// This is clearly a bug; yet, not a severe issue, as we do not have really sensitive things available here
1918-
if (user != LIMITED_USER_NONE && user != LIMITED_USER_OTHER_PRIVILEGES) {
1918+
if (user != LIMITED_USER_NONE) {
19191919
assertThat(httpResponse, isOk());
19201920
} else {
19211921
assertThat(httpResponse, isForbidden());

0 commit comments

Comments
 (0)