Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFAoj-0002M7-LC for pgsql-www@arkaria.postgresql.org; Wed, 02 Feb 2022 08:16:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nFAoi-0001L7-ED for pgsql-www@arkaria.postgresql.org; Wed, 02 Feb 2022 08:16:40 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFAoi-0001Ky-6i for pgsql-www@lists.postgresql.org; Wed, 02 Feb 2022 08:16:40 +0000 Received: from host-213-189-163-85.dynamic.voo.be ([213.189.163.85] helo=ploudseeker.com) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFAob-0004ip-AM for pgsql-www@lists.postgresql.org; Wed, 02 Feb 2022 08:16:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cmatte.me; s=myselector; t=1643789781; bh=pohHdHEOu60k9L14e/nfkuNx4dgKyIkTFz3m+patAyQ=; h=Date:From:To:Cc:References:Subject:In-Reply-To; b=iUzdLshlMym42ID/4tpgmQIe712RnwdN675TbmAGx3uvDPPOqQ2sXDnAwk6o+x7tK TiBjp0DxSv2Plid/qo+yMnAnBG8I+X59rJ7jryb7cJCZ+ekeu6TG784JS29EEoY+Iq IrT4ytq9xa5hiY3A2BK4c2WdaFnp7N0zIwsPhkr2KSTv+n/mZpb9ajO8GgnS7Cyd0l DljzzQbU7VVeq+tThsySXLClDeusrsKPBMdIDwXX99szvf6lB4Rdz567WbRkgxw8Br x1r2GXA5K+J7BZvPNj0EYZLA7BWV9tczAEuZ0FpCA/wA+LXuSpOf2p9p5/Kpoy6/ln fjjiwXOj/5kuw== Message-ID: <1b4db143-3410-54c2-bb91-1242ae430bcd@cmatte.me> Date: Wed, 2 Feb 2022 09:16:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 From: =?UTF-8?Q?C=c3=a9lestin_Matte?= To: Magnus Hagander Cc: PostgreSQL WWW References: <1d060463-e562-7783-decd-b5a7f3c4c06c@cmatte.me> Content-Language: en-US Subject: Re: [PATCH] pgarchives: pglister_sync: import lists with subscriber_access set to True In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > This should definitely be fixed. Thanks! >> By default, subscriber_access is set to False and there is no way to modify that within the web interface. >> As a consequence, access to lists on private servers is restricted to superusers, and there is no easier way to modify that than to edit the database manually. >> >> It seems more logical to me that this value be set to True by default, as access can still be moderated to avoid lists being publicly available. > > In what way would access "still be moderated"? In pgarchives, that's a > pure boolean and there are no further checks. User accounts are > auto-created. I meant that subscriptions can still be moderated in pglister (if lists are configured that way), so that anybody does not have access to archives. > The idea is that anything that's "open" should have to be set > explicitly and thus we should default to it being off. Based on that I > have at least initially applied a version of your patch that sets it > to false. That makes sense. >> That said, it may be better to have a way to modify that within the web interface in pglister. > > I agree in principle. The argument does fall off a bit on the fact > that there is *no* admin interface to pgarchives. You don't have a way > to add a list manually either, without doing it directly in SQL. So we > either accept that SQL is the way things are done, or we should tackle > the bigger problem of setting up such an interface. But I think we > could get pretty far by just enabling the general django admin > interface and set up the required classes for that -- we don't > necessarily need to move things like reparsing and hiding of messages > into such an admin interface. I meant this could be added in the admin interface of pglister, not pgarchives, as it already exists and pglister_sync can then push (and update) the configuration to pgarchives. -- Célestin Matte