-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.2
-
Component/s: Automation
-
Tags:
-
Impact type:Configuration Change
-
Upgrade notes:
-
Sprint:nxFG 10.2.6
-
Story Points:3
Automation Scripting currently forbids all JavaScript imports. This is too strict and we should whitelist commonly-used classes and allow this list to be extended.
Example classes to allow:
- java.util.ArrayList
- java.util.UUID
- org.nuxeo.runtime.transaction.TransactionHelper
- org.nuxeo.ecm.core.api.impl.blob.StringBlob
- org.nuxeo.ecm.core.api.impl.blob.JSONBlob