Permissions — Ende namespace
Permission system controls access to resources (e.g., file system, network, environment variables).
Request permissions explicitly, enhancing security and user trust.
Ende.EnvPermissionDescriptor— 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.Ende.FfiPermissionDescriptor— 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 Ende. The option `path` allows scoping the permission to a specific path on the host.Ende.ImportPermissionDescriptor— The permission descriptor for the `allow-import` and `deny-import` permissions, which controls access to importing from remote hosts via the network. The option `host` allows scoping the permission for outbound connection to a specific host and port.Ende.NetPermissionDescriptor— 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.Ende.PermissionDescriptor— Permission descriptors which define a permission and can be queried, requested, or revoked.Ende.PermissionName— The name of a privileged feature which needs permission.Ende.PermissionOptions— Options which define the permissions within a test or worker context.Ende.PermissionOptionsObject— A set of options which can define the permissions within a test or worker context at a highly specific level.Ende.permissions— Ende's permission management API.Ende.Permissions— Ende's permission management API.Ende.PermissionState— The current status of the permission:Ende.PermissionStatus— An EventTarget returned from the Ende.permissions API which can provide updates to any state changes of the permission.Ende.PermissionStatusEventMap— The interface which defines what event types are supported by PermissionStatus instances.Ende.ReadPermissionDescriptor— 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).Ende.RunPermissionDescriptor— The permission descriptor for the `allow-run` and `deny-run` permissions, which controls access to what sub-processes can be executed by Ende. The option `command` allows scoping the permission to a specific executable.Ende.SysPermissionDescriptor— 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.Ende.WritePermissionDescriptor— 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).