14 lines
347 B
Dart
14 lines
347 B
Dart
import 'package:pshared/models/permissions/action.dart';
|
|
import 'package:pshared/models/permissions/effect.dart';
|
|
|
|
|
|
class ActionEffect {
|
|
final Action action; // The action allowed or denied
|
|
final Effect effect; // The effect of the policy ("allow" or "deny")
|
|
|
|
const ActionEffect({
|
|
required this.action,
|
|
required this.effect,
|
|
});
|
|
}
|