AccessStrategyRegistry class

Implemented types
Annotations

Constructors

AccessStrategyRegistry.new({required AccessStrategy permissionStrategy, required AccessStrategy roleStrategy, required AccessStrategy featureStrategy})
const

Properties

featureStrategy AccessStrategy
final
hashCode int
The hash code for this object.
no setterinherited
permissionStrategy AccessStrategy
final
roleStrategy AccessStrategy
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

hasPermission(BuildContext context, String permission) bool
Проверка пермишена (например, 'orders.edit')
override
hasRole(BuildContext context, String role) bool
Проверка роли (если используется)
override
isFeatureEnabled(BuildContext context, String flag) bool
Проверка feature-флага (например, 'new_ui')
override
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