Three RBAC packages are released in their initial stable version: rbac, rbac-php, and rbac-rules-container.
These packages provide RBAC (Role-Based Access Control) library. They are used in Yii Framework but is usable separately as well. Main features are:
- Flexible RBAC hierarchy with roles, permissions and rules.
- Role inheritance.
- Data could be passed to rules when checking access.
- Multiple storage adapters.
- Separate storages could be used for user-role assignments and role hierarchy.
- API to manage RBAC hierarchy.
Database storages are in the making.
Overall usage examples are available in the rbac package readme.