pub async fn get_by_code( pool: &PgPool, actor: &Actor, code: &str, ) -> AppResult<Project>
A project group by code, if the actor may see it; a hidden group gives the message of an unknown code.