pub async fn authorize_access_to_course_material(
    conn: &mut PgConnection,
    user_id: Option<Uuid>,
    course_id: Uuid
) -> Result<AuthorizationToken, ControllerError>
Expand description

Can be used to check whether user is allowed to view some course material