Skip to content

Conversation

aspicas
Copy link
Owner

@aspicas aspicas commented Jul 23, 2025

Pull Request

Description

Add, remove, and update a specified role with its permissions

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Other (please describe):

How Has This Been Tested?

Run the test command:
./scripts/test_with_coverage.sh

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

- Replaced Policy references with Role in PolicyManager and RoleEvaluator classes.
- Updated related methods and properties to reflect the change from policies to roles.
- Introduced a new Role model to encapsulate role-based access control logic.
- Adjusted integration and unit tests to validate the new role-based structure.
- Introduced a new Role Management Test screen to interactively test role management operations.
- Implemented role addition, update, and removal functionalities with real-time policy evaluation.
- Enhanced the main app structure to include navigation to the Role Management Demo.
- Included comprehensive error handling and user feedback mechanisms for role management actions.
@aspicas aspicas self-assigned this Jul 23, 2025
@aspicas aspicas added the enhancement New feature or request label Jul 23, 2025
Copy link

docs-page bot commented Jul 23, 2025

To view this pull requests documentation preview, visit the following URL:

docs.page/aspicas/flutter_policy_engine~19

Documentation is deployed and generated using docs.page.

@aspicas aspicas merged commit 357c679 into develop Jul 23, 2025
5 of 7 checks passed
@aspicas aspicas mentioned this pull request Jul 23, 2025
13 tasks
@aspicas aspicas deleted the feature/add-dynamic-role-assignment branch July 23, 2025 21:43
@aspicas
Copy link
Owner Author

aspicas commented Jul 24, 2025

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants