SessionPermissions class

What a caller is allowed to invoke on a session.

Intersected with SessionCapabilities at runtime.

Constructors

SessionPermissions({Set<String> actions = const {}, Set<String> assertionDomains = const {}, Set<String> waits = const {}, bool privilegedOperations = false, bool lifecycleOperations = false, bool captureArtifacts = false})
const
SessionPermissions.fromJson(Map<String, dynamic> json)
factory

Properties

actions → Set<String>
final
assertionDomains → Set<String>
final
captureArtifacts → bool
final
hashCode → int
The hash code for this object.
no setterinherited
lifecycleOperations → bool
final
privilegedOperations → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
waits → Set<String>
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

restrictedUi → SessionPermissions
Restricted grant: UI actions/waits/asserts only (no privileged ops).
final
testController → SessionPermissions
Full grant matching the runner's controller power.
final