MDL-31750 - course: Creating a consistent api for checking permissions for moving courses to different categories.
MDL-31750 - course: Unit testes for the function can_move_courses_to_category().