Skip to content

Commit

Permalink
Add security policy for ml-commons library (#945)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>

Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 authored Oct 20, 2022
1 parent 2c65ecb commit 9debb01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugin/src/main/plugin-metadata/plugin-security.policy
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ grant {
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.RuntimePermission "defineClass";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.RuntimePermission "getClassLoader";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
permission java.net.NetPermission "getProxySelector";
permission java.net.SocketPermission "*", "accept,connect,resolve";

// ml-commons client
permission java.lang.RuntimePermission "setContextClassLoader";
};

0 comments on commit 9debb01

Please sign in to comment.