We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7eafdd commit 53d2975Copy full SHA for 53d2975
libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/PolicyManager.java
@@ -395,9 +395,9 @@ public void checkManageThreadsEntitlement(Class<?> callerClass) {
395
}
396
397
public void checkManageThreadsEntitlement(Class<?> callerClass, Thread targetThread) {
398
- if (targetThread == Thread.currentThread()) {
399
- return;
400
- }
+ // if (targetThread == Thread.currentThread()) {
+ // return;
+ // }
401
checkEntitlementPresent(callerClass, ManageThreadsEntitlement.class);
402
403
0 commit comments