--permission
为当前进程启用权限模型。启用后,以下权限将受到限制:
¥Enable the Permission Model for current process. When enabled, the following permissions are restricted:
-
文件系统 - 可通过
--allow-fs-read
、--allow-fs-write
标志进行管理¥File System - manageable through
--allow-fs-read
,--allow-fs-write
flags -
子进程 - 可通过
--allow-child-process
标志进行管理¥Child Process - manageable through
--allow-child-process
flag -
工作线程 - 可通过
--allow-worker
标志进行管理¥Worker Threads - manageable through
--allow-worker
flag -
WASI - 可通过
--allow-wasi
标志进行管理¥WASI - manageable through
--allow-wasi
flag -
插件 - 可通过
--allow-addons
标志进行管理¥Addons - manageable through
--allow-addons
flag