Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message
Дата
Msg-id CABUevEwTbnzYycjxUG+biuZ7Zxcf4yeYLPOx876VPk7Aqcji3w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] pgweb: auth.py: make it possible to customize email address in error message  (Célestin Matte <celestin.matte@cmatte.me>)
Список pgsql-www


On Thu, 21 Dec 2023 at 18:39, Célestin Matte <celestin.matte@cmatte.me> 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

В списке pgsql-www по дате отправления: