1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/docs/runtime
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
..
compiler_apis.md refactor: permissions (#7074) 2020-08-18 16:29:32 -04:00
permission_apis.md BREAKING(unstable): Use hosts for net allowlists (#8845) 2020-12-30 23:35:28 +01:00
program_lifecycle.md refactor(cli/rt): deduplicate code (#8649) 2020-12-07 21:22:58 +01:00
stability.md docs: Fix broken links (#6853) 2020-07-23 10:05:36 -04:00
web_platform_apis.md docs: document the spec deviations in web apis (#8489) 2020-11-25 15:09:22 +01:00
workers.md feat: Add configurable permissions for Workers (#8215) 2021-01-06 21:31:16 +01:00