Closed pfrenssen closed 8 years ago
@amitaibu do you agree this would be an improvement? Should it be called RoleManager
or OgRoleManager
?
Sounds great. I think OgRoleManager
would be better.
Great! I'll update the issue summary.
Hi @pfrenssen
I'd like to help with this issue please
Refactor done. Tests not passing yet
@dakala thanks for picking this up! Looking forward to the PR! :)
Feel free to open PR even before it's complete - you might earn some early review :)
We currently have a number of methods in
GroupManager
which are not actually dealing with groups; they deal with OG roles:::createPerBundleRoles()
::getDefaultRoles()
::getRequiredDefaultRoles()
::removeRoles()
Scope
OgRoleManager
service and move the 4 methods in there.OgRoleManagerInterface
which documents the public methods in the service.