Skip to content

Commit 7fa407b

Browse files
[Failure Store] Remove IndicesPermissions#test(IndexAbstraction) method
Inlined and removed `IndicesPermissions#test(IndexAbstraction)` method.
1 parent dbedc51 commit 7fa407b

File tree

6 files changed

+2110
-998
lines changed

6 files changed

+2110
-998
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/permission/IndicesPermission.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ public final IsResourceAuthorizedPredicate and(IsResourceAuthorizedPredicate oth
232232
);
233233
}
234234

235-
// TODO remove me (this has >700 usages in tests which would make for a horrible diff; will remove this once the main PR is merged)
236-
public boolean test(IndexAbstraction indexAbstraction) {
237-
return test(indexAbstraction.getName(), indexAbstraction, IndexComponentSelector.DATA);
238-
}
239-
240235
/**
241236
* Verifies if access is authorized to the given {@param indexAbstraction} resource.
242237
* The resource must exist. Otherwise, use the {@link #test(String, IndexAbstraction, IndexComponentSelector)} method.

0 commit comments

Comments
 (0)