mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Split test runner security permissions (#64748)
The test framework security policy contains permissions for both gradle and intellij running tests. These currently coexist in the same file, though only one set of the jars permissions are granted to exist in any given run. This works because java policy parsing is lenient, so if a system property referenced in the file does not exist, the entire grant is silently skipped. This commit splits these permissions into separate policy files so that we do not rely on leniency, and can (in a followup) add our own validation to fix java's leniency.
This commit is contained in:
parent
2bf3e36144
commit
b92c9b7147
6 changed files with 35 additions and 28 deletions
|
@ -335,7 +335,6 @@ configure(subprojects.findAll { ['archives', 'packages'].contains(it.name) }) {
|
|||
|
||||
dependencies {
|
||||
libs project(':server')
|
||||
libs project(':libs:elasticsearch-plugin-classloader')
|
||||
libs project(':distribution:tools:java-version-checker')
|
||||
libs project(':distribution:tools:launchers')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue