async def METHOD_NAME(
    app: web.Application, user_id: UserID, gid: GroupID
) -> dict[str, str]:
    """
    Gets group gid if user associated to it and has read access
    raises GroupNotFoundError
    raises UserInsufficientRightsError
    """
    async with get_database_engine(app).acquire() as conn:
        return await _db.METHOD_NAME(conn, user_id=user_id, gid=gid)