Refactoring role management for groups in a workspace.