From: | Célestin Matte <celestin(dot)matte(at)cmatte(dot)me> |
---|---|
To: | Magnus Hagander <magnus(at)hagander(dot)net>, PostgreSQL WWW <pgsql-www(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [PATCH] pgarchives: pglister_sync: import lists with subscriber_access set to True |
Date: | 2023-02-28 10:39:09 |
Message-ID: | 58138ea4-f2f2-50e7-a356-442b62fc7e14@cmatte.me |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-www |
Attached another proposed solution to that problem, with a series of patches for pglister and pgarchives:
- 0001-Add-subscriber_access-field-to-ListGroup_pglister.patch adds a subscriber_access field in pglister's admin section
- 0002-Add-subscriber_access-to-archives-API_pglister.patch adds subscriber_access to the API's archive section in pglister
- 0001-pglister_sync-obtain-subscriber_access-from-API_pgarchives.patch uses the value received from the API instead of a default "False" that has to be manually changed
As a reminder, the problem was that subscriber_access was set to False by default, which means that any list created on pglister and set to be archived on pgarchives won't be reachable by subscribers, unless the subscriber_access field is manually modified in the database.
--
Célestin Matte
Attachment | Content-Type | Size |
---|---|---|
0001-Add-subscriber_access-field-to-ListGroup_pglister.patch | text/x-patch | 1.8 KB |
0001-pglister_sync-obtain-subscriber_access-from-API_pgarchives.patch | text/x-patch | 1.5 KB |
0002-Add-subscriber_access-to-archives-API_pglister.patch | text/x-patch | 2.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2023-03-02 19:10:56 | Re: updates for spi / donations info |
Previous Message | Jonathan S. Katz | 2023-02-27 19:58:10 | Re: updates for spi / donations info |