1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/runtime/ops
Steven Guerrero adc2f08c17
feat: Add configurable permissions for Workers (#8215)
This commit adds new option to "Worker" Web API that allows to 
configure permissions.

New "Worker.deno.permissions" option can be used to define limited
permissions to the worker thread by either:
- inherit set of parent thread permissions
- use limited subset of parent thread permissions
- revoke all permissions (full sandbox)

In order to achieve this functionality "CliModuleLoader"
was modified to accept "initial permissions", which are used
for top module loading (ie. uses parent thread permission set
to load top level module of a worker).
2021-01-06 21:31:16 +01:00
..
crypto.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
dispatch_minimal.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
fetch.rs feat(cli/standalone): support runtime flags for deno compile (#8738) 2021-01-05 00:15:52 +01:00
fs.rs upgrade: Rust 1.49.0 (#8955) 2021-01-02 13:52:42 +01:00
fs_events.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
io.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
mod.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
net.rs BREAKING(unstable): Use hosts for net allowlists (#8845) 2020-12-30 23:35:28 +01:00
net_unix.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
os.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
permissions.rs BREAKING(unstable): Use hosts for net allowlists (#8845) 2020-12-30 23:35:28 +01:00
plugin.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
process.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
runtime.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
signal.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
timers.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
tls.rs BREAKING(unstable): Use hosts for net allowlists (#8845) 2020-12-30 23:35:28 +01:00
tty.rs refactor: rewrite ops to use ResourceTable2 (#8512) 2020-12-16 17:14:12 +01:00
web_worker.rs refactor: deno_runtime crate (#8640) 2020-12-13 19:45:53 +01:00
websocket.rs refactor: move WebSocket API to an op_crate (#9026) 2021-01-06 16:57:28 +01:00
worker_host.rs feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00