Permission enum

Permission types for module access control.

This declarative permission system allows modules to define exactly what resources and actions they are authorized to access.

Inheritance
Available extensions

Values

dataRead → const Permission

Permission to read shared data

dataWrite → const Permission

Permission to write shared data

serviceCall → const Permission

Permission to call services from other modules

eventEmit → const Permission

Permission to emit events/signals

eventListen → const Permission

Permission to listen to events/signals

routeAccess → const Permission

Permission to access routes

fullAccess → const Permission

Full access (use with caution)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

Constants

values → const List<Permission>
A constant List of the values in this enum, in order of their declaration.