Deno.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).

Permission granted under allow-read only allows runtime code to attempt to read, the underlying operating system may apply additional permissions.

interface ReadPermissionDescriptor {
name: "read";
path?: string | URL;
}

§Properties

§
name: "read"
[src]
§
path?: string | URL
[src]

An allow-read or deny-read permission can be scoped to a specific path (and if the path is a directory, any sub paths).