Basic scaffolding for executing user-defined plugin code #3
Open
opened 3 years ago by garrettmills
·
0 comments
Loading…
Reference in new issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This will be expanded in the future, but we need to set up scaffolding for running user code in a secure sandbox.
This will require setting up an interface for the execution handlers, and creating separate reference implementations for both the frontend and backend.
For the backend, use the
vm2
library for Node. Not sure what for the backend.Create shared execution context classes that pass in parameters to the plugin.
Eventually, these will provide an entry-point to the API, but not for now.