You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runtime/fundamentals/configuration.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -588,8 +588,8 @@ Instead of specifying a permission as a boolean or array:
588
588
{
589
589
"permissions": {
590
590
"default": {
591
-
"read":true, // Simple boolean form
592
-
"write": ["./data"] // Simple array form
591
+
"read":true, // Simple boolean form
592
+
"write": ["./data"] // Simple array form
593
593
}
594
594
}
595
595
}
@@ -629,12 +629,14 @@ permission type:
629
629
-**`allow`**: Explicitly grant access to specific resources. Can be `true` (to
630
630
allow all), `false` (to allow none), or an array of specific paths/values to
631
631
allow.
632
-
-**`deny`**: Explicitly deny access (throw [PermissionDenied](https://docs.deno.com/api/deno/~/Deno.errors.PermissionDenied)) to specific resources, even if they would
633
-
otherwise be allowed. Can be `true` (to deny all), `false` (to deny none), or
0 commit comments