pub fn get_data_for_chat_allowed_check( headers: HeaderMap, year_id: Uuid, ) -> Result<DataForChatAllowedCheck, String>