Skip to content

Commit a2ed4c8

Browse files
committed
Add entitlement
1 parent 991dd6d commit a2ed4c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,10 @@ private static PolicyManager createPolicyManager() {
249249
),
250250
new Scope(
251251
"org.apache.lucene.misc",
252-
List.of(new FilesEntitlement(List.of(FileData.ofRelativePath(Path.of(""), DATA, READ_WRITE))))
252+
List.of(
253+
new FilesEntitlement(List.of(FileData.ofRelativePath(Path.of(""), DATA, READ_WRITE))),
254+
new ReadStoreAttributesEntitlement()
255+
)
253256
),
254257
new Scope(
255258
"org.apache.logging.log4j.core",

0 commit comments

Comments
 (0)