summaryrefslogtreecommitdiff
path: root/docs/runtime/permission_apis.md
AgeCommit message (Collapse)Author
2021-03-06chore: remove unstable from permission (#9701)crowlKats
2020-12-30BREAKING(unstable): Use hosts for net allowlists (#8845)Nayeem Rahman
Allowlist checking already uses hosts but for some reason requests, revokes and the runtime permissions API use URLs. - BREAKING(lib.deno.unstable.d.ts): Change NetPermissionDescriptor::url to NetPermissionDescriptor::host - fix(runtime/permissions): Don't add whole URLs to the allowlist on request - fix(runtime/permissions): Harden strength semantics: ({ name: "net", host: "127.0.0.1" } is stronger than { name: "net", host: "127.0.0.1:8000" }) for blocklisting - refactor(runtime/permissions): Use tuples for hosts, make the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-09-28docs: use const assertion for PermissionDescriptor (#7733)Trivikram Kamat
Fixes #7731
2020-08-18refactor: permissions (#7074)Nayeem Rahman