Were checking the wrong permission for course configuration.