You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
flutter_policy_engine is a lightweight and extensible policy engine for Flutter that lets you define, manage, and evaluate access control rules declaratively using ABAC (Attribute-Based Access Control) or RBAC models.
3
+
A lightweight, extensible policy engine for Flutter. Define, manage, and evaluate access control rules declaratively using ABAC (Attribute-Based Access Control) or RBAC (Role-Based Access Control) models.
4
+
5
+
## Features
6
+
7
+
- Attribute-Based and Role-Based Access Control (ABAC/RBAC)
8
+
- Declarative rule definitions
9
+
- Extensible and modular design
10
+
- Easy integration with Flutter apps
4
11
5
12
## Installation
6
13
7
-
Make sure you have [Flutter](https://docs.flutter.dev/get-started/install) and [Dart](https://dart.dev/get-dart) installed. It is recommended to use [FVM](https://fvm.app/) for Flutter version management.
14
+
Ensure you have [Flutter](https://docs.flutter.dev/get-started/install) and [Dart](https://dart.dev/get-dart) installed. [FVM](https://fvm.app/)is recommended for managing Flutter versions.
8
15
9
16
```bash
10
17
# Clone the repository and enter the directory
11
-
#git clone <repo-url>
18
+
git clone <repo-url>
12
19
cd flutter_policy_engine
13
20
14
21
# Run the setup script (requires bash, Flutter, Node.js, and npm)
@@ -17,27 +24,26 @@ cd flutter_policy_engine
17
24
18
25
The setup script will:
19
26
20
-
- Check for Flutter and FVM installation
21
-
- Install the Flutter version defined in`.fvm/fvm_config.json` (if present)
27
+
- Check for Flutter and FVM
28
+
- Install the Flutter version from`.fvm/fvm_config.json` (if present)
-`fvm flutter test` or `flutter test`: Runs tests.
31
-
- Husky and Commitlint are set up for commit quality (requires Node.js).
34
+
## Contributing
32
35
33
-
## Linting
36
+
Contributions are welcome! Please:
34
37
35
-
This project uses [flutter_lints](https://pub.dev/packages/flutter_lints) to enforce good coding practices. You can customize rules in `analysis_options.yaml`.
38
+
- Follow the existing code style and patterns
39
+
- Write clear commit messages (Commitlint and Husky are enabled)
40
+
- Add or update tests for new features or bug fixes
0 commit comments