File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
libs/entitlement/src/main/java/org/elasticsearch/entitlement/bootstrap Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -121,9 +121,13 @@ private static List<Scope> createServerEntitlements(Path pidFile) {
121121 new ReadJdkImageEntitlement (),
122122 // java.xml does some reflective stuff that reads calling jars, so allow reading the codebases
123123 // of any code in the system so that they can all use java.xml
124- new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (LIB , READ ))),
125- new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (MODULES , READ ))),
126- new FilesEntitlement (List .of (FilesEntitlement .FileData .ofBaseDirPath (PLUGINS , READ )))
124+ new FilesEntitlement (
125+ List .of (
126+ FilesEntitlement .FileData .ofBaseDirPath (LIB , READ ),
127+ FilesEntitlement .FileData .ofBaseDirPath (MODULES , READ ),
128+ FilesEntitlement .FileData .ofBaseDirPath (PLUGINS , READ )
129+ )
130+ )
127131 )
128132 ),
129133 new Scope ("org.apache.httpcomponents.httpclient" , List .of (new OutboundNetworkEntitlement ())),
You can’t perform that action at this time.
0 commit comments