A set of options which can define the permissions within a test or worker context at a highly specific level.
Properties #
Specifies if the env
permission should be requested or revoked.
If set to "inherit"
, the current env
permission will be inherited.
If set to true
, the global env
permission will be requested.
If set to false
, the global env
permission will be revoked.
Specifies if the ffi
permission should be requested or revoked.
If set to "inherit"
, the current ffi
permission will be inherited.
If set to true
, the global ffi
permission will be requested.
If set to false
, the global ffi
permission will be revoked.
Specifies if the import
permission should be requested or revoked.
If set to "inherit"
the current import
permission will be inherited.
If set to true
, the global import
permission will be requested.
If set to false
, the global import
permission will be revoked.
If set to Array<string>
, the import
permissions will be requested with the
specified domains.
Specifies if the net
permission should be requested or revoked.
if set to "inherit"
, the current net
permission will be inherited.
if set to true
, the global net
permission will be requested.
if set to false
, the global net
permission will be revoked.
if set to string[]
, the net
permission will be requested with the
specified host strings with the format "<host>[:<port>]
.
Specifies if the read
permission should be requested or revoked.
If set to "inherit"
, the current read
permission will be inherited.
If set to true
, the global read
permission will be requested.
If set to false
, the global read
permission will be revoked.
If set to Array<string | URL>
, the read
permission will be requested with the
specified file paths.
Specifies if the run
permission should be requested or revoked.
If set to "inherit"
, the current run
permission will be inherited.
If set to true
, the global run
permission will be requested.
If set to false
, the global run
permission will be revoked.
Specifies if the sys
permission should be requested or revoked.
If set to "inherit"
, the current sys
permission will be inherited.
If set to true
, the global sys
permission will be requested.
If set to false
, the global sys
permission will be revoked.
Specifies if the write
permission should be requested or revoked.
If set to "inherit"
, the current write
permission will be inherited.
If set to true
, the global write
permission will be requested.
If set to false
, the global write
permission will be revoked.
If set to Array<string | URL>
, the write
permission will be requested with the
specified file paths.