Fix crash when creating new workspace with mooc
Fix #167773 (allow maangers and admins to get resources from not started moocs)