zendframework / zend-permissions-rbac

Create and query role-based access controls.
BSD 3-Clause "New" or "Revised" License
44 stars 23 forks source link

Added Role::getPermissions(), Rbac::getRoles() #35

Closed ezimuel closed 6 years ago

ezimuel commented 6 years ago

This PR adds 2 functions:

These functions are useful for getting the permissions and roles of a Rbac scheme.

ezimuel commented 6 years ago

@webimpress thanks for the review! I updated the PR with your suggestions. Moreover, I updated the documentation with the API of the 2 functions.

ezimuel commented 6 years ago

@weierophinney can you merge this? Thanks!

weierophinney commented 6 years ago

Thanks @ezimuel - merged to develop!