RunPermissionDescriptor class
The permission descriptor for the allow-run
and deny-run
permissions, which controls
access to what sub-processes can be executed by Deno. The option command
allows scoping the permission to a specific executable.
Warning, in practice, allow-run
is effectively the same as allow-all
in the sense that malicious code could execute any arbitrary code on the
host.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- RunPermissionDescriptor({String? name, Object? command})
-
factory
Properties
- command ↔ Object?
-
Available on RunPermissionDescriptor, provided by the RunPermissionDescriptor$Typings extension
Anallow-run
ordeny-run
permission can be scoped to a specific executable, which would be relative to the start-up CWD of the Deno CLI.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
Available on RunPermissionDescriptor, provided by the RunPermissionDescriptor$Typings extension
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited