[PATCH] pgarchives: Always load auth, even when using PUBLIC_ARCHIVES=True

Поиск
Список
Период
Сортировка
От Célestin Matte
Тема [PATCH] pgarchives: Always load auth, even when using PUBLIC_ARCHIVES=True
Дата
Msg-id bb55b32a-c744-d770-fb7e-4df090175a17@cmatte.me
обсуждение исходный текст
Ответы Re: [PATCH] pgarchives: Always load auth, even when using PUBLIC_ARCHIVES=True
Список pgsql-www
There's an issue in pgarchives with auth when using PUBLIC_ARCHIVES=True.
Even in public archives mode, auth is necessary as an antispam feature for downloading mbox, raw messages etc.
However, in public archives mode, auth is not loaded, except when setting ALLOW_RESEND=True. But that variable has a
differentpurpose and the semantics is unclear.
 
Several solutions exist:
- adding a variable in settings to allow auth for these purposes
- always loading auth. This is the solution I used in attached patch.
-- 
Célestin Matte
Вложения

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: git.postgresql.org stuck?
Следующее
От: Célestin Matte
Дата:
Сообщение: Re: [PATCH] pgarchives: pglister_sync: import lists with subscriber_access set to True