Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQAHy-000NuX-2v for pgsql-www@arkaria.postgresql.org; Mon, 01 Dec 2025 20:14:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vQAHx-004Iak-2E for pgsql-www@arkaria.postgresql.org; Mon, 01 Dec 2025 20:14:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vQAHx-004Iac-1c for pgsql-www@lists.postgresql.org; Mon, 01 Dec 2025 20:14:25 +0000 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vQAHv-002d5s-0N for pgsql-www@postgresql.org; Mon, 01 Dec 2025 20:14:24 +0000 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-7866aca9ff4so46483047b3.3 for ; Mon, 01 Dec 2025 12:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hagander.net; s=mail; t=1764620063; x=1765224863; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZST9AE21qBRMcippJ3cmS79k8KPZtSt+qSVtOcoJ2Jc=; b=CP0I8cqcgs+Coaa6VLh7zF2g2Gz0ybo0jIy3l2umE8czBReTkUG1ii9RVJlJ/W1FPB T+55aUTp3Wci2heRDWHWWu0Bn/LHz+I62JIn+DpCgQxlPTT9N9Rd9ADLYT8TyPDbpbyC 98+ptCLZ1HfFCCDGQc3vv74zrNAh6FvGY5kDAAWSNpPlF9nijHcYo+PbGZf+IVYuTOB1 NAOq2fMP1cw5ASlG9lWWmTZbf2cFQLcu3d6/4P+h0meAkQAqcuiYxw+XBstND2YgGz44 hnn3VTqlZDvZ4NjVEeFG+SjIWXyJAqZYSmn1HwqhR44LdisZjlq5tvrUJmbTzhJhlZNW kuPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764620063; x=1765224863; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZST9AE21qBRMcippJ3cmS79k8KPZtSt+qSVtOcoJ2Jc=; b=sdodOGYgc417s14rQCFWC+h59EtbCAjO5qIjHafvvmWsbY6Q6RrPN8TcVppRbYBaF9 dNQVwZqp15m7LibYsw+txHNubTwNVd/t1pLJHeELsX1hn+S+VyZ9p2MukpeiojNZ+aVA 9++ZGEOagVo6VRcxjGJAhgjDtNCGBS7v7kaNN+fiYOwxwkqBAtEnwN2HuZ9M2DJgVQmf Fi5U0rRVBvV0Z6gbwabnE+zx/DtLlaBMG5PdvUjKsWjWMK9o/yzeWubxijz7t27bOoHE VyMK8BKI4Rd0QlSMp0GAV3GSF2+n4No5zmeCn1vIePPIrlJ4yn5arGuFb9X0JoWp7Wea C6AQ== X-Gm-Message-State: AOJu0YzMijknAd8J+JeBkeaYCpU2STXKkO0Y4Y/apFFAWSj10PMUdtHW Ke+v3WAR3KqnH9b1TBvm/RALa7xhRMeFrnPP6JYRIm3+0mm6rcJg2cvpCDnbp+u8ZfdlhE9Br/Q EJVWPVuOTN+KCMefOhHpMbQV5RSnaj9dQoyasUgsBapDkA/WbDJT3Lw== X-Gm-Gg: ASbGncvui0iMpU9GKoe2xDL/5EqUJBmFbOTQMroultHuZVLz1ppjbrC1Ud7ZitBUudo UQhvM7ZUu6CPZKHajvK026znhGTb9foLyeN12siJl384elE3DgQuhIuHR6nrBMMCknMhkfTl1Xg yAZ/XcuPjf3wWEcUMk5nTTo8XnQrpbVhyKcJ0tkIkJ5KovQP8l38Da7pmWuDfCIb1oPf8miD+ps TPF1q/ZE9Z+N9m5MjLGi++UsUbrv/nsdUw732nLPjwkW+XMWdwW9MFf9CKTbWLfrI8JyU8= X-Google-Smtp-Source: AGHT+IEqd/IfOcshuDh5/SwbDO4OCq3KGsEGoA85P4axXwjSsbVD58GZG+h9zXJDyXMCp50izrnw/Ve7QKE3eqzkawk= X-Received: by 2002:a05:690c:4801:b0:78a:75b2:be66 with SMTP id 00721157ae682-78a8b47f8c7mr310547837b3.11.1764620063070; Mon, 01 Dec 2025 12:14:23 -0800 (PST) MIME-Version: 1.0 References: <79ee1e4d-ef04-414e-a5e0-1732590ff763@cmatte.me> In-Reply-To: From: Magnus Hagander Date: Mon, 1 Dec 2025 21:14:11 +0100 X-Gm-Features: AWmQ_bmbs5eals1GYNcZWmylKWVFjtkbrh-sQiAodh74mU0eyzDdBiEfA8awiWM Message-ID: Subject: Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message To: =?UTF-8?Q?C=C3=A9lestin_Matte?= Cc: pgsql-www@postgresql.org Content-Type: multipart/alternative; boundary="00000000000005ec390644e9a05d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000005ec390644e9a05d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 21 Dec 2023 at 18:39, C=C3=A9lestin Matte wrote: > > Maybe the correct choice is to actually add it to pglister? > > Alright, patched for pglister attached. > Also attached a patch for pgarchives, because while ADMINS is defined, > there is no default value. (Note: this variable is only used for auth.py) > Once again sorry to be ridiculously late :) Realizing that this auth.py code is shared along basically all postgresql.org properties, I think the conditional way is the right way to do it. I don't think we should prepopulate a value of webmaster@postgresql.org into the ADMIN values in the configs -- but we should add an empty one. so I've pushed that change for now. //Magnus --00000000000005ec390644e9a05d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, 21 Dec = 2023 at 18:39, C=C3=A9lestin Matte <celestin.matte@cmatte.me> wrote:
> Maybe the correct choice is to actual= ly add it to pglister?

Alright, patched for pglister attached.
Also attached a patch for pgarchives, because while ADMINS is defined, ther= e is no default value. (Note: this variable is only used for auth.py)

Once again sorry to be ridiculously late :)<= /div>

Realizing that this auth.py code is shared along b= asically all postgresql.org propertie= s, I think the conditional way is the right way to do it. I don't think= we should prepopulate a=C2=A0 value of webmaster@postgresql.org into the ADMIN values in the configs = -- but we should add an empty one. so I've pushed that change for now.<= /div>

//Magnus

--00000000000005ec390644e9a05d--