How to prevent teachers from editing courses