Skip to content

Commit c3d07d3

Browse files
committed
Add manage_threads to org.apache.lucene.core
1 parent 97f2415 commit c3d07d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/initialization/EntitlementInitialization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private static PolicyManager createPolicyManager() {
130130
),
131131
new Scope("org.apache.httpcomponents.httpclient", List.of(new OutboundNetworkEntitlement())),
132132
new Scope("io.netty.transport", List.of(new InboundNetworkEntitlement(), new OutboundNetworkEntitlement())),
133-
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement())),
133+
new Scope("org.apache.lucene.core", List.of(new LoadNativeLibrariesEntitlement(), new ManageThreadsEntitlement())),
134134
new Scope("org.elasticsearch.nativeaccess", List.of(new LoadNativeLibrariesEntitlement()))
135135
)
136136
);

0 commit comments

Comments
 (0)