zend-permissions-rbac
zend-permissions-rbac copied to clipboard
Create and query role-based access controls.
Fix #45
This PR fixes #45 adding the children roles in `Rbac::addRole()`.
Thanks for your suggestions and comments! All issues I think are now resolved.
The documentation is missing some explanations how the RBAC component can be used in a MVC and / or Expressive application. Of course, with code examples. Maybe as cookbook.
https://zendframework.github.io/zend-permissions-rbac/intro/ mentions ``` To create a role, extend the abstract class Zend\Permission\Rbac\AbstractRole or use the default role class, Zend\Permission\Rbac\Role. You can instantiate a role and add it to the RBAC...
In v3.x, if you create a role, add a child role too it, then add the parent role to the Rbac instance, the child role is not added. Using your...