Remove suppressAccessChecks permission for Groovy script plugin
Closes #16527
This commit is contained in:
parent
2d2197ed2e
commit
ab4e671bfd
|
@ -25,7 +25,6 @@ grant {
|
||||||
// needed by groovy engine
|
// needed by groovy engine
|
||||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||||
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
|
||||||
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
|
|
||||||
// needed by GroovyScriptEngineService to close its classloader (why?)
|
// needed by GroovyScriptEngineService to close its classloader (why?)
|
||||||
permission java.lang.RuntimePermission "closeClassLoader";
|
permission java.lang.RuntimePermission "closeClassLoader";
|
||||||
// Allow executing groovy scripts with codesource of /untrusted
|
// Allow executing groovy scripts with codesource of /untrusted
|
||||||
|
|
Loading…
Reference in New Issue