Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message - Mailing list pgsql-www

From Magnus Hagander
Subject Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message
Date
Msg-id CABUevEyjvzTA8QXjsd_-0bmxxR5--LEUWvPfXTiN7+fYoaLcZg@mail.gmail.com
Whole thread Raw
In response to [PATCH] pgweb: auth.py: make it possible to customize email address in error message  (Célestin Matte <celestin.matte@cmatte.me>)
Responses Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message  (Célestin Matte <celestin.matte@cmatte.me>)
List pgsql-www
On Tue, Dec 19, 2023 at 5:51 PM Célestin Matte <celestin.matte@cmatte.me> wrote:
>
> auth.py contains an error message with an hardcoded @postgresql.org email address.
> This patch makes it possible to change it using a variable in the settings.
> I used ADMINS because it already exists in pgweb with the correct value (and pgarchives), but that can be discussed
asit doesn't exist in pglister. 

Maybe the correct choice is to actually add it to pglister?

That said, having a fallback is probably still a good idea since we
have loads of servers that run this auth.py plugin, but for the
pglister specific thing I think that would be a reasonable thing to
expect?

--
 Magnus Hagander
 Me: https://www.hagander.net/
 Work: https://www.redpill-linpro.com/



pgsql-www by date:

Previous
From: Akshat Jaimini
Date:
Subject: Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message
Next
From: Magnus Hagander
Date:
Subject: Re: pglister: monitor eximintegration queue with nagios?