An EventTarget
returned from the Deno.permissions
API which can provide updates to any state changes of the permission.
The permission descriptor for the allow-env
and deny-env
permissions, which controlsaccess to being able to read and write to the process environment variablesas well as access other information about the environment. The optionvariable
allows scoping the permission to a specific environmentvariable.
The permission descriptor for the allow-ffi
and deny-ffi
permissions, which controlsaccess to loading foreign code and interfacing with it via theForeign Function Interface APIavailable in Deno. The option path
allows scoping the permission to aspecific path on the host.
The permission descriptor for the allow-net
and deny-net
permissions, which controlsaccess to opening network ports and connecting to remote hosts via thenetwork. The option host
allows scoping the permission for outboundconnection to a specific host and port.
The interface which defines what event types are supported byPermissionStatus
instances.
The permission descriptor for the allow-read
and deny-read
permissions, which controlsaccess to reading resources from the local host. The option path
allowsscoping the permission to a specific path (and if the path is a directoryany sub paths).
The permission descriptor for the allow-run
and deny-run
permissions, which controlsaccess to what sub-processes can be executed by Deno. The option command
allows scoping the permission to a specific executable.
The permission descriptor for the allow-sys
and deny-sys
permissions, which controlsaccess to sensitive host system information, which malicious code mightattempt to exploit. The option kind
allows scoping the permission to aspecific piece of information.
The permission descriptor for the allow-write
and deny-write
permissions, whichcontrols access to writing to resources from the local host. The optionpath
allow scoping the permission to a specific path (and if the path isa directory any sub paths).
Permission descriptors which define a permission and can be queried,requested, or revoked.
The name of a privileged feature which needs permission.
Options which define the permissions within a test or worker context.
The current status of the permission:
Deno's permission management API.