Fix course model and course edit/enrolling permissions