Frontend first draft
This commit is contained in:
13
frontend/pshared/lib/models/permissions/action_effect.dart
Normal file
13
frontend/pshared/lib/models/permissions/action_effect.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
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,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user