pub fn get_class_permissions( conn: &Connection, class_id: &str, ) -> Result<Vec<ClassPermission>, String>