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 controls
access to being able to read and write to the process environment variables
as well as access other information about the environment. The option
variable
allows scoping the permission to a specific environment
variable.
The permission descriptor for the allow-ffi
and deny-ffi
permissions, which controls
access to loading foreign code and interfacing with it via the
Foreign Function Interface API
available in Deno. The option path
allows scoping the permission to a
specific path on the host.
The permission descriptor for the allow-net
and deny-net
permissions, which controls
access to opening network ports and connecting to remote hosts via the
network. The option host
allows scoping the permission for outbound
connection to a specific host and port.
The interface which defines what event types are supported by
PermissionStatus
instances.
The permission descriptor for the allow-read
and deny-read
permissions, which controls
access to reading resources from the local host. The option path
allows
scoping the permission to a specific path (and if the path is a directory
any sub paths).
The permission descriptor for the allow-run
and deny-run
permissions, which controls
access 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 controls
access to sensitive host system information, which malicious code might
attempt to exploit. The option kind
allows scoping the permission to a
specific piece of information.
The permission descriptor for the allow-write
and deny-write
permissions, which
controls access to writing to resources from the local host. The option
path
allow scoping the permission to a specific path (and if the path is
a 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.