MDL-48391 tool_uploadcourse: access checks for configuring enrolments.