DenoAppResource.WithDenoDeny
Method
type DenoAppResource interface { // ... omitted for brevity WithDenoDeny( kind DenoPermissionKind, values []string, ) DenoAppResource}Signature
method
WithDenoDeny builderDenies a Deno permission, optionally scoped to the supplied values.
WithDenoDeny( kind DenoPermissionKind, values []string,) DenoAppResourceParameters
kindDenoPermissionKind The permission to deny.values[]string Optional values that scope the permission. When empty, all access of the selected kind is denied.Returns
DenoAppResource The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: