only allow enrollment in courses where required courses have been successfully completed