Fixes permissions for editing courses