Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDenoAllowAll

Method
📦 Aspire.Hosting.JavaScript v17.0.0
func (DenoAppResource) WithDenoAllowAll(options ...*WithDenoAllowAllOptions) DenoAppResource

Signature

methodWithDenoAllowAllbuilder
Controls the blanket -A/--allow-all grant.
WithDenoAllowAll(options ...*WithDenoAllowAllOptions) DenoAppResource
options...*WithDenoAllowAllOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDenoAllowAllOptions argument.

Enabled*boolWhether to emit -A/--allow-all. Pass false to grant only permissions configured with WithDenoAllow.
DenoAppResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: