When they wanted to create distinct rolebase learning paths Aura developed additional code to provide administrators with course assignment control allowing them to build the desired customizable rolebased curriculum plans

Could you correct the punctuation please?
When they wanted to create distinct, role-base learning paths, Aura developed additional code to provide administrators with course assignment control- allowing them to build the desired customizable, role-based curriculum plans.