ZF-Commons / zfc-rbac

Role-based access control module to provide additional features on top of Zend\Permissions\Rbac
BSD 3-Clause "New" or "Revised" License
181 stars 111 forks source link

Change/pass context parameter to RoleService::getIdentityRoles #343

Closed basz closed 8 years ago

basz commented 8 years ago

This PR will pass the context to the RoleService::getIdentityRoles from within the AuthorizationService. Additionally it adds an RoleServiceInterface so the RoleService can be changed.

Not a breaking change.

As requested by @Wilt in https://github.com/ZF-Commons/zfc-rbac/pull/316